From agent-smith
Analyze Agent Smith session metrics and produce tuning recommendations for Claude Code, Codex, OpenCode, or Pi. Use when asked to analyze metrics, tune config, review agent performance, generate a performance report, or optimize agent settings.
How this skill is triggered — by the user, by Claude, or both
Slash command
/agent-smith:analyze-configThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Analyze session metrics and produce tuning recommendations for Claude Code, Codex, OpenCode, or Pi configuration.
Analyze session metrics and produce tuning recommendations for Claude Code, Codex, OpenCode, or Pi configuration.
Before running any scripts, resolve AGENT_SMITH_ROOT:
scripts/analyze-config.sh plus .claude-plugin/plugin.json, .codex-plugin/plugin.json, opencode-plugin/package.json, or .pi/extensions/agent-smith/index.ts, use the current repo root.claude when running inside Claude Code, codex when running inside Codex, opencode when running inside OpenCode, and pi when running inside Pi. Do not mix them unless the user explicitly asks for a cross-agent report.bash "${AGENT_SMITH_ROOT}/scripts/metrics-rollup.sh" to ensure the SQLite database at ~/.config/agent-smith/rollup.db is currentbash "${AGENT_SMITH_ROOT}/scripts/analyze-config.sh" --sessions 50 --tool <initiating-agent> (adjust session count as needed)~/.config/agent-smith/reports/bash "${AGENT_SMITH_ROOT}/scripts/analyze-config.sh" --llm --sessions 50 --tool <initiating-agent>. Only add --include-settings if the user explicitly approves sending the relevant local settings snapshot.permissions.allow in settings.jsonmax_tokens) -> suggest model or effort level adjustmentsSafe to apply directly (non-breaking):
~/.claude/commands/*.md or .claude/commands/*.mdRequires user approval:
permissions.allow in settings.jsonLocal raw analysis is the default: bash "${AGENT_SMITH_ROOT}/scripts/analyze-config.sh" --sessions 50 --tool <initiating-agent>
Searches MemPalace before answering questions about past work, people, projects, or prior decisions. Returns verbatim stored content instead of guessing from model memory.
Guides Payload CMS config (payload.config.ts), collections, fields, hooks, access control, APIs. Debugs validation errors, security, relationships, queries, transactions, hook behavior.
Implements vector databases with Pinecone, Weaviate, Qdrant, Milvus, pgvector for semantic search, RAG, recommendations, and similarity systems. Optimizes embeddings, indexing, and hybrid search.
npx claudepluginhub chetmancini/agent-smith --plugin agent-smith