agentleFS
imMamdouhaboammarimMamdouhaboammar/chatgpt-codex-plugin-autopilot/skills/agentic-repo-discovery/SKILL.md

agentic-repo-discovery

Skill53 starsChanged 4 months agoMITView on GitHub

Use when an existing repository contains agents, prompts, workflows, playbooks, commands, or Skills and you need to identify which capabilities are worth converting into a ChatGPT/Codex Plugin.

The file

We split this skill into the rules it gives an agent

3 rules. About 0 are common, 3 are distinctive, and 0 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈3

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Read repository instructions and the main README first.

    line 12
  2. Distinctive:

    Run the bundled analyzer when filesystem execution is available:

    line 13
  3. Distinctive:

    Do not generate Plugin configuration before this boundary is clear.

    line 39

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Agentic Repo Discovery

Find the reusable user workflows inside a repository before creating Plugin files.

Procedure

  1. Read repository instructions and the main README first.
  2. Run the bundled analyzer when filesystem execution is available:
python3 ../chatgpt-codex-plugin-autopilot/scripts/analyze_repo.py <target-repo> --json
  1. Inspect high-scoring candidates in context. The analyzer finds signals; it does not understand the full product by itself.
  2. Build a candidate disposition table using: preserve_skill, compile_skill, reference_only, runtime_dependency, internal_only, or discard.
  3. 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.
  4. Flag secrets, organization-specific instructions, destructive operations, security-sensitive workflows, hidden telemetry, and policy-sensitive capabilities for explicit public-distribution review.
  5. Recommend skills-only, MCP-backed, or hybrid from actual behavior. Treat .mcp.json or .app.json as evidence to inspect, not automatic proof that the public Plugin needs them.
  6. Hand selected workflow candidates to workflow-to-skill-compiler and the overall product boundary to plugin-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.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.