← 返回 Skills 市场
xueyetianya

Agent Toolkit

作者 bytesagain4 · GitHub ↗ · v2.0.2 · MIT-0
cross-platform ✓ 安全检测通过
543
总下载
0
收藏
2
当前安装
13
版本数
在 OpenClaw 中安装
/install agent-toolkit
功能描述
Configure and benchmark agent tools and integration patterns. Use when setting up agent workflows, comparing tools, or evaluating agents.
使用说明 (SKILL.md)

Agent Toolkit

A comprehensive AI toolkit for configuring, benchmarking, comparing, and optimizing agent tools and integration patterns. Agent Toolkit provides persistent, file-based logging for each command category with timestamped entries, summary statistics, multi-format export, and full-text search across all records.

Commands

Command Description
configure Configure agent tools — log configuration entries or view recent ones
benchmark Benchmark tool performance — log benchmark results or view history
compare Compare tool outputs — log comparison data or view recent comparisons
prompt Prompt management — log prompt variations or view recent prompts
evaluate Evaluate tool results — log evaluation data or view history
fine-tune Fine-tune parameters — log fine-tuning sessions or view recent ones
analyze Analyze tool behavior — log analysis entries or view recent analyses
cost Cost tracking — log cost data or view recent cost entries
usage Usage monitoring — log usage metrics or view recent usage data
optimize Optimize configurations — log optimization runs or view history
test Test tool behavior — log test results or view recent tests
report Report generation — log report entries or view recent reports
stats Show summary statistics across all log categories (entry counts, data size, first entry date)
export \x3Cfmt> Export all data in json, csv, or txt format to the data directory
search \x3Cterm> Full-text search across all log files (case-insensitive)
recent Show the 20 most recent entries from the activity history log
status Health check — show version, data directory, total entries, disk usage, and last activity
help Show the full help message with all available commands
version Print the current version string

Each data command (configure, benchmark, compare, etc.) works in two modes:

  • Without arguments: displays the 20 most recent entries from that category
  • With arguments: saves the input as a new timestamped entry and reports the total count

Data Storage

All data is stored in plain text files under the data directory:

  • Category logs: $DATA_DIR/\x3Ccommand>.log — one file per command (e.g., configure.log, benchmark.log, prompt.log), each entry is timestamp|value
  • History log: $DATA_DIR/history.log — audit trail of every command executed with timestamps
  • Export files: $DATA_DIR/export.\x3Cfmt> — generated by the export command in json, csv, or txt format

Default data directory: ~/.local/share/agent-toolkit/

Requirements

  • Bash (with set -euo pipefail support)
  • Standard Unix utilities: grep, cat, date, echo, wc, du, head, tail, basename
  • No external dependencies or API keys required

When to Use

  1. Setting up agent workflows — When you need to configure and log settings for agent tool integrations, API connections, or pipeline configurations
  2. Benchmarking and comparing tools — When you're evaluating different AI tools or agent frameworks and want to log performance metrics for comparison
  3. Cost and usage optimization — When you need to track API costs, token usage, and resource consumption across different tools to optimize spending
  4. Fine-tuning and testing — When running fine-tuning experiments or test suites and you want to log parameters, results, and observations
  5. Cross-tool analysis and reporting — When you need to search across all logged data, generate reports, or export results for stakeholder review

Examples

# Check toolkit status
agent-toolkit status

# Configure a new tool integration
agent-toolkit configure "OpenAI API key rotated, new model endpoint: gpt-4o-2024-08"

# Benchmark a tool
agent-toolkit benchmark "LangChain ReAct agent: 94% task completion, 3.4s avg response time"

# Compare two tools
agent-toolkit compare "LangChain vs CrewAI: LangChain 20% faster setup, CrewAI better multi-agent coordination"

# Log a prompt template
agent-toolkit prompt "Tool-use system prompt v3: Added structured output format and error handling instructions"

# Track costs
agent-toolkit cost "Weekly API spend: OpenAI $12.30, Anthropic $8.50, total $20.80"

# View recent benchmarks
agent-toolkit benchmark

# Search across all logs
agent-toolkit search "LangChain"

# Export all data as CSV
agent-toolkit export csv

# View summary statistics
agent-toolkit stats

# Show recent activity
agent-toolkit recent

Output

All commands return output to stdout. Export files are written to the data directory:

agent-toolkit export json   # → ~/.local/share/agent-toolkit/export.json
agent-toolkit export csv    # → ~/.local/share/agent-toolkit/export.csv
agent-toolkit export txt    # → ~/.local/share/agent-toolkit/export.txt

Every command execution is logged to $DATA_DIR/history.log for auditing purposes.


Powered by BytesAgain | bytesagain.com | [email protected]

安全使用建议
This tool is coherent and appears safe to install, but be careful: it saves whatever you type to plain-text files (~/.local/share/agent-toolkit/*.log and export.*). Avoid pasting API keys, passwords, or other secrets into entries. If you need to record sensitive info, use placeholders or store it encrypted elsewhere. Consider: (1) set DATA_DIR to a secure location or change permissions (chmod 700) on the data directory, (2) do not use agent-toolkit to store raw credentials, (3) periodically review and securely delete or rotate any secrets that may have been logged, and (4) be aware exported files (export.json/csv/txt) may include sensitive entries and are written to disk.
功能分析
Type: OpenClaw Skill Name: agent-toolkit Version: 2.0.2 The agent-toolkit is a local logging utility designed to track AI agent performance, costs, and configurations. It stores data in timestamped log files within the user's local share directory (~/.local/share/agent-toolkit) and provides basic search, export, and statistics functionality using standard Unix utilities like grep and tail. No network activity, data exfiltration, or unauthorized execution patterns were found in scripts/script.sh or SKILL.md.
能力评估
Purpose & Capability
Name/description match the delivered behavior: an instruction-only skill plus a bash CLI that logs, searches, exports, and reports on agent-related entries. Nothing in the files requires unrelated cloud credentials or unusual system access.
Instruction Scope
SKILL.md and the script stay within the declared scope (logging, searching, exporting). However examples explicitly show writing things like 'OpenAI API key rotated' to the logs; the tool will persist any user-provided input verbatim, which means secrets or credentials can be accidentally recorded and later exported or searched.
Install Mechanism
No install spec or external downloads; the skill is instruction-only with a bundled bash script. No network fetch or archive extraction occurs during installation.
Credentials
The skill requests no environment variables or credentials. It does implicitly rely on $HOME to set DATA_DIR and standard Unix utilities. Because it stores arbitrary text, the lack of required creds is appropriate, but the examples encourage recording API keys in plaintext — a security/privacy risk but not inconsistent with purpose.
Persistence & Privilege
The script creates and persists files under ~/.local/share/agent-toolkit and appends to history.log and per-command logs (expected). It does not request elevated privileges or modify other skills, but this persistent storage means sensitive data may linger until you remove it.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install agent-toolkit
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /agent-toolkit 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v2.0.2
update
v2.0.1
SKILL.md rewritten to align with script.sh. All commands documented. Added Data Storage, Requirements, When to Use, Examples.
v2.0.0
v2.5 standard: Use-when desc, homepage, source, security fix
v2.3.6
old template -> domain-specific v2.0.0
v2.3.5
old template -> domain-specific v2.0.0
v2.3.4
Quality upgrade
v2.3.3
Quality upgrade: custom functionality
v2.3.2
De-template, unique content, script cleanup
v2.3.1
Quality improvement: better docs, examples, cleaner text
v2.3.0
Quality fixes: aligned docs with implementation
v2.2.0
Enhanced descriptions for better AI triggering
v1.0.1
probe
v1.0.0
- Initial release of Agent Toolkit. - Offers commands to scaffold agent projects, generate configs, create prompts, define tools, and design chains. - Includes utilities for debugging, monitoring, and deployment. - Designed as a comprehensive toolbox for building and deploying AI agents.
元数据
Slug agent-toolkit
版本 2.0.2
许可证 MIT-0
累计安装 2
当前安装数 2
历史版本数 13
常见问题

Agent Toolkit 是什么?

Configure and benchmark agent tools and integration patterns. Use when setting up agent workflows, comparing tools, or evaluating agents. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 543 次。

如何安装 Agent Toolkit?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install agent-toolkit」即可一键安装,无需额外配置。

Agent Toolkit 是免费的吗?

是的,Agent Toolkit 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Agent Toolkit 支持哪些平台?

Agent Toolkit 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Agent Toolkit?

由 bytesagain4(@xueyetianya)开发并维护,当前版本 v2.0.2。

💬 留言讨论