用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/joshka0/foxctl --skill foxctl-code-analysis命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
Protocol for participant agents in transport-first rooms: join, check membership, handle inbox/tasks, reply durably, and escalate.
Operate inside an existing foxctl room: orient from status or inbox, manage tasks correctly, escalate, and close with durable updates.
Run durable multi-agent rooms with transport-first delivery, participant state, room tasks, and optional tmux or zellij viewers.
基于 SOC 职业分类
正在显示 SKILL.md
| name | foxctl Code Analysis |
| description | Analyze code with foxctl skills - symbols, complexity, diffs, security scanning, and imports. |
Extract insights from codebases using specialized analysis skills.
Extract functions, classes, types, and their signatures:
foxctl run code/symbols --input '{"path": "src/main.go"}'
Output includes:
Analyze cyclomatic complexity and other metrics:
foxctl run code/complexity --input '{"path": "src/", "recursive": true}'
Generate diffs between files or versions:
foxctl run code/diff --input '{"old": "file.go.bak", "new": "file.go", "format": "unified"}'
Detect potential security issues:
foxctl run code/security --input '{"path": ".", "recursive": true}'
Checks for:
Map dependencies and import relationships:
foxctl run code/imports --input '{"path": "internal/", "recursive": true}'
Extract high-signal code snippets from candidates:
foxctl run code/smart_search --input '{"query": "error handling", "files": ["handler.go", "service.go"]}'
Navigate code by relationships (calls, references, imports):
# Builds are incremental by default; use `--incremental=false` to force a full rebuild.
# For TS/Elixir-only repos, add `--go=false` (otherwise Go indexing may fail).
foxctl index repo build --dry-run --workspace . --go --typescript --elixir
foxctl index repo build --workspace . --go --typescript --elixir
foxctl run repo/index_build --input '{"workspace": ".", "include_go": true, "include_typescript": true}'
foxctl index repo search --workspace . --query "Supervisor"
foxctl index repo expand --workspace . --seed "<node-id>" --edge CALLS --edge REFERS_TO
Summaries are separate from graph construction. Generate and attach them only when graph results should include summary text:
foxctl index file-summaries --workspace .
foxctl index symbol-summaries --workspace .
foxctl index repo enrich summaries --workspace .
foxctl run repo/index_enrich_summaries --input '{"workspace": "."}'
For semantic-comment anchors, build with explicit anchor graph edges:
foxctl index repo build --workspace . --semantic-anchors --include-tests
Use code/dag_grep when you want a small explanation subgraph in one call (similar to code/context_grep, but for repoindex):
foxctl run code/dag_grep --input '{
"query": "repoindex builder",
"workspace": ".",
"render": "tree",
"edge_sets": ["structural"],
"depth": 2,
"budget": 80,
"k": 5
}'
Notes:
CALLS edges; Elixir adds heuristic REFERS_TO edges. These are best-effort (no type-checking) and conservative (ambiguous targets are skipped).# Recent commits
foxctl run code/git --input '{"action": "log", "count": 10}'
# File blame
foxctl run code/git --input '{"action": "blame", "path": "main.go"}'
# Diff against branch
foxctl run code/git --input '{"action": "diff", "ref": "main"}'