Agentic Repo Discovery
Find the reusable user workflows inside a repository before creating Plugin files.
Procedure
- Read repository instructions and the main README first.
- Run the bundled analyzer when filesystem execution is available:
python3 ../chatgpt-codex-plugin-autopilot/scripts/analyze_repo.py <target-repo> --json
- Inspect high-scoring candidates in context. The analyzer finds signals; it does not understand the full product by itself.
- Build a candidate disposition table using:
preserve_skill,compile_skill,reference_only,runtime_dependency,internal_only, ordiscard. - Identify the user's repeatable job for every candidate. Reject candidates whose only value is repository maintenance trivia unless that is the intended Plugin product.
- Flag secrets, organization-specific instructions, destructive operations, security-sensitive workflows, hidden telemetry, and policy-sensitive capabilities for explicit public-distribution review.
- Recommend
skills-only,MCP-backed, orhybridfrom actual behavior. Treat.mcp.jsonor.app.jsonas evidence to inspect, not automatic proof that the public Plugin needs them. - Hand selected workflow candidates to
workflow-to-skill-compilerand the overall product boundary toplugin-experience-architect.
Output
Return a concise conversion brief containing:
- repository/ref inspected
- reusable jobs discovered
- candidate dispositions with reasons
- architecture recommendation with confidence
- runtime dependencies
- public exclusions
- missing evidence
- next conversion actions
Do not generate Plugin configuration before this boundary is clear.