ager-scan
Scan a codebase for agent frameworks (LangGraph, CrewAI, LlamaIndex, Claude/OpenAI APIs, MCP, Deep Agents, hyperscalers, microVMs) and for Claude/Grok/Codex/universal plugin agents and skills. Extracts prompts, tools, schemas, orchestration, loops, harness signals, and plugin frontmatter. Use when reverse-engineering an existing agent project into AGER concepts.
- License 许可
- MIT
- 最近更新
- 2026-08-31
- Stars
- ★ 1
- Forks
- 3
01 前言 Front Matter
- name
- ager-scan
- description
- Scan a codebase for agent frameworks (LangGraph, CrewAI, LlamaIndex, Claude/OpenAI APIs, MCP, Deep Agents, hyperscalers, microVMs) and for Claude/Grok/Codex/universal plugin agents and skills. Extracts prompts, tools, schemas, orchestration, loops, harness signals, and plugin frontmatter. Use when reverse-engineering an existing agent project into AGER concepts.
03 SKILL.md 正文
AGER Scan
Deterministic filesystem scan — the reverse-engineering detector for agent stacks.
Sibling of SAC sac-scan / DEKC dekc-walk, specialized for multi-agent runtimes.
What it extracts
| Finding kind | Maps toward AGER |
|---|---|
| plugin | Harness + AgentGraph |
| agent / skill | WorkerAgent / JudgeAgent / OrchestratorAgent |
| framework | Framework adapter notes |
| system_prompt / prompt | AgentNode.instructions / Prompt |
| tool | Tool + ToolRule |
| mcp | Tool + JSON-RPC schema |
| schema | InputSchema / OutputSchema |
| graph | AgentGraph + ControlEdge |
| loop | LoopPolicy + LoopControl |
| orchestration | Orchestrator / Handoff / FanOut / HumanGate |
| sandbox | ContextIsolationPolicy |
| hyperscaler | Run + CheckpointPolicy (AgentCore, Azure AI, Vertex) |
Supported detectors (non-exhaustive)
- Claude Code plugins:
.claude-plugin/plugin.json,.claude/agents/*.md,.claude/skills/*/SKILL.md(and undottedclaude/) - Grok Build plugins:
.grok-plugin/,.grok/agents,.grok/skills(and undottedgrok/) - Codex plugins:
.codex-plugin/plugin.json,.codex/agents,.codex/skills(and undottedcodex/) - Agent Plugins 1.0: root
plugin.json($schemaagent-plugins.org) +agents/+skills/ - Raw Claude / Anthropic API, OpenAI API
- LangChain, LangGraph, CrewAI, LlamaIndex
- OpenAI Agents SDK, Claude Agent SDK, Deep Agents, AutoGen, Semantic Kernel
- MCP servers / JSON-RPC tool catalogs
- Hyperscalers: Bedrock AgentCore, Azure AI Agents, Vertex Agent Engine
- Hardened runtimes: Firecracker microVMs, gVisor, Kata, E2B, hardened containers
Steps
- Confirm the source root (repo path or clone).
- Run:
python3 "${CLAUDE_PLUGIN_ROOT}/scripts/ager_scan.py" --root "$SOURCE_ROOT" --json -o scan.json
- Summarize frameworks + counts for the user.
- For materialization into a draft AGER bundle, continue with ager-reverse-engineer.
Notes
- Scan is best-effort and confidence-scored; it does not execute untrusted code.
- Prefer promoting high-confidence findings via ager-author after human review.
- Generic keyword hits (
Supervisor / orchestrator role, container isolation, …) collapse to one finding with multipleevidence_pathsinstead of one node per file. Tool matches without a real identifier (Tool: { json blob }) are dropped.
04 同仓库更多 Skills
enhancer-loop
You are the orchestrator. You are the only role in this loop that writes the real ticket file or talks to GitHub.
ticket-loop
You are the orchestrator. You are the only role in this loop that writes the real ticket file or talks to GitHub.
plan-loop
Grok plan-loop skill that coordinates the planner worker.
review-skill
Supporting grok skill for review checklists.
codex-draft
Helper skill for patch drafting conventions.
review-loop
You are the orchestrator. You are the only role in this loop that writes the real patch.