Benchmark external agent frameworks, auto-detect source type, scan for prompt injection, and convert findings into a concrete TDD upgrade backlog for agent-studio evolution.
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
A direct command skips the review prompt. Inspect the source before running it.
Benchmark external agent frameworks, auto-detect source type, scan for prompt injection, and convert findings into a concrete TDD upgrade backlog for agent-studio evolution.
Skipping injection scan on external content โ always scan before analysis
Ignoring source type detection โ auto-detect reduces misrouted analysis
Source Auto-Detection (Inspired by Skill_Seekers SourceDetector)
When the input source is ambiguous, auto-classify before proceeding:
Input Pattern
Source Type
Analysis Strategy
https://github.com/owner/repo
GitHub repo
Three-stream: code + docs + community
owner/repo (no URL)
GitHub shorthand
Clone via git clone --depth=1
https://... (non-GitHub URL)
Documentation site
Web scrape + structure extraction
Local directory path
Local codebase
Direct file analysis
*.pdf, *.docx, *.epub
Document file
Content extraction pipeline
*.json, *.yaml config
Config/manifest
Schema + structure analysis
PyPI/npm package name
Package registry
Fetch metadata + clone source
Decision tree: Check GitHub URL โ check file extension โ check if local path exists โ check if package name โ fall back to web URL.
Write detected source info to <run-id>/source-info.json:
{"type":"github|web|local|document|package","parsed":{"url":"...","owner":"...","repo":"..."},"suggestedName":"auto-generated-name","rawInput":"original user input"}
On resume: read progress file โ skip completed phases โ continue from nextStep.
Benchmark Comparison Report (Inspired by Skill_Seekers BenchmarkRunner)
After Phase 3, generate a structured comparison report at <run-id>/comparison-report.json:
{"name":"agent-studio vs <external-repo>","comparedAt":"<ISO>","dimensions":[{"dimension":"memory_model|search_stack|agent_orchestration|creator_system|observability|security|testing|documentation","ours":{"description":"...","maturity":"none|basic|intermediate|advanced"},"theirs":{"description":"...","maturity":"none|basic|intermediate|advanced"},"verdict":"ahead|parity|behind|different_approach","adoptionCandidate":true}],"summary":{"totalDimensions":8,"ahead":0,"parity":0,"behind":0,"differentApproach":0,"adoptionCandidates":0},"topFindings":["...","..."],"injectionScanPassed":true}
This replaces ad-hoc prose comparison with a machine-readable format that enables tracking improvements over time and across multiple assimilation runs.
Workflow Template Support (Inspired by Skill_Seekers YAML Workflows)
When the external project uses composable workflow definitions (YAML, JSON, or similar), extract the workflow pattern and document it in <run-id>/workflow-patterns.md:
Stage definitions โ what stages exist, their types (builtin vs custom), and ordering
History chaining โ which stages consume output from previous stages (uses_history: true)
Post-processing โ any section reordering, metadata injection, or cleanup steps
Variables โ configurable parameters that modify workflow behavior
This analysis feeds into the gap list โ if our framework lacks composable stage-based workflows for a given domain, that becomes a gap candidate.
Memory Protocol (MANDATORY)
Before work: cat .claude/context/memory/learnings.md
After work: record assimilated patterns โ learnings.md; adoption risks โ decisions.md; blockers โ issues.md.