agentleFS
imMamdouhaboammarimMamdouhaboammar/get-things-done/skills/use-chatgpt/SKILL.md

use-chatgpt

Skill2 starsChanged 2 months agoMITView on GitHub

Use when coordinating multiple plugins or tools, routing complex engineering missions, repairing PRs with bot review comments, executing macOS native automation, or enforcing evidence-based completion gates.

The file

We split this skill into the rules it gives an agent

6 rules. About 0 are common, 5 are distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈5

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 1

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Every workflow must enforce these five rules:

    line 79
  2. Very specific:

    Verified Source of Truth First: Always inspect live connected state (@GitHub, @Remote Desktop Commander, local filesystem, database) before …

    line 81
  3. Distinctive:

    Single Primary & Write Owner: Only one plugin/agent owns primary lifecycle direction.

    line 82
  4. Distinctive:

    When multiple plugins or CLIs could assist, route through strict precedence:

    line 92
  5. Distinctive:

    Every tool is classified into one of six runtime states:

    line 109
  6. Distinctive:

    All changes are verified by Level A (Direct State) or Level B (Executable Proof).

    line 182

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 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

Use ChatGPT: Master Agentic Router & Coordination Skill

A modular, evidence-grounded agentic skill and execution engine for orchestrating installed ChatGPT plugins, connected data sources, GitHub Apps/bots, and local CLIs as coordinated roles rather than a flat list of @mentions.

right source of truth
+ right planner
+ right executor
+ right specialist
+ right reviewer
+ right runtime verification
+ explicit completion gate

⚡ Quick Start: Native Rust CLI Engine

This skill is powered by the native Pure Rust engine chatgpt-skill (located in crates/use-chatgpt-engine).

# 1. Automatically classify intent and generate execution DAG
chatgpt-skill route "Build user authentication feature and verify with Playwright"

# 2. Inspect and classify open PR bot comments (CodeRabbit, Bugbot, Sourcery)
chatgpt-skill bot-gate inspect --pr 42

# 3. Initialize or update evidence ledger
chatgpt-skill evidence init --mission "Auth implementation"
chatgpt-skill evidence record --source "src/auth.ts" --test "bun test auth"

# 4. Advance through the 8-stage lifecycle
chatgpt-skill state transition EXECUTE --proof "Tests added"

# 5. Bridge to macOS native CLI (notifications, clipboard, keychain)
chatgpt-skill macos notify --title "PR Gate" --message "Verification passed"

1. Operating Invariants

Every workflow must enforce these five rules:

  1. Verified Source of Truth First: Always inspect live connected state (@GitHub, @Remote Desktop Commander, local filesystem, database) before reasoning from memory or stale handoffs.
  2. Single Primary & Write Owner: Only one plugin/agent owns primary lifecycle direction. Exactly one write owner per mutable surface at any time.
  3. Evidence Trust Ladder: Level A (Direct State) and Level B (Executable Proof) outweigh Level C (Independent Review), Level D (External Docs), and Level E (Inference). A reviewer cannot manufacture executable proof.
  4. Mandatory Open-PR Bot Context Gate: For any open PR in scope, inspect all bot comments (coderabbitai, cursor bugbot, autofix.ci, sourcery, mergify). Classify each finding before acting: BOT != NOISE, BOT != TRUTH. Verify claims against current head SHA.
  5. No Fake Completions: Distinguish COMPLETE, COMPLETE_WITH_FOLLOWUPS, PARTIAL, BLOCKED, and NOT_STARTED. Never use vague completion language ("should work", "looks done") without physical verification.

2. Capability Precedence Algorithm

When multiple plugins or CLIs could assist, route through strict precedence:

$$\text{Source} \rightarrow \text{Contract} \rightarrow \text{Executor} \rightarrow \text{Verifier} \rightarrow \text{Reviewer} \rightarrow \text{Readiness} \rightarrow \text{Landing} \rightarrow \text{Handoff}$$

  1. Source: Who owns current truth? (@GitHub, local repo, @Supabase, @Vercel)
  2. Contract: Which specification or docs define behavior? (@Context7, @OpenAI Developers)
  3. Executor: Who is authorized to mutate? (@Remote Desktop Commander, @GitHub, single write owner)
  4. Verifier: What directly proves the change? (Native tests, CI, runtime checks)
  5. Reviewer: Who provides an independent second perspective? (@CodeRabbit, @Codex Engineering Guardrails)
  6. Readiness: Is evidence sufficient for the next gate? (@PR Readiness Check)
  7. Landing: Who owns the irreversible state transition? (@PR Completion, Mergify, repository policy)
  8. Handoff: What state must survive if work remains? (@Create State, @get-fable handoff)

3. Capability Availability States

Every tool is classified into one of six runtime states:

  • CALLABLE: Usable tool contract visible in the current host session.
  • CONNECTED: Live connector accessible for current account.
  • INSTALLED_BUT_NOT_CALLABLE_HERE: Plugin installed in ChatGPT/Codex, but inactive in current session.
  • KNOWN_NAME_UNRESOLVED: Name referenced in prompt, but no canonical contract resolved.
  • UNAVAILABLE: Integration explicitly reports it cannot execute.
  • BLOCKED: Constrained by rate limits, billing, auth, or policy.

Rule: Never silently promote an uncallable or blocked tool into a functioning one.


4. Universal 8-Stage Lifecycle

STAGE 0: CLASSIFY   -> Domain, source of truth, write surfaces, risk, gates
STAGE 1: RESTORE    -> Fetch live repo/PR/account state; reconcile handoff
STAGE 2: INVESTIGATE-> Collect minimal evidence to remove uncertainty
STAGE 3: PLAN       -> Bounded scope, acceptance criteria, tests, rollback
STAGE 4: EXECUTE    -> Implement slice under single write owner
STAGE 5: VERIFY     -> Run tests, builds, and runtime checks (Levels A & B)
STAGE 6: REVIEW     -> Independent code, security, and UX reviews (Level C)
STAGE 7: RELEASE    -> Exact-head landing, CI verification, merge queue
STAGE 8: HANDOFF    -> Persist durable state if unfinished work remains

5. Decision Rules & Boundaries

  • When to Use:
    • Coordinating multiple ChatGPT plugins, skills, or CLIs on non-trivial engineering tasks.
    • Inspecting and repairing open PRs with bot/app review threads.
    • Multi-stage delivery requiring strict evidence ledgers and state machine tracking.
    • Cross-platform agentic missions (ChatGPT, Claude Code, Cursor, Antigravity).
  • When NOT to Use:
    • Trivial single-file edits or simple syntax questions (use direct inline execution).
    • General web browsing or knowledge lookup with no tooling orchestration.
    • Building new skills from scratch (delegate to skill-creator or omni-skill).

6. Progressive Disclosure & Reference Map

Deep-dive operational knowledge is partitioned into domain references:

ReferenceTopic & Canonical Contents
references/operating-contract.mdCore invariants, trust boundaries, PR head refresh, and reporting vocabulary.
references/plugin-role-model.md10 role categories: Source, Research, Planning, Execution, Review, Security, QA, etc.
references/execution-surfaces.mdSurface taxonomy: Plugins vs Connected Sources vs GitHub Apps vs CI Gates.
references/open-pr-bot-gate.mdDeep rules for CodeRabbit, Bugbot, autofix.ci, Qlty, Sourcery, Mergify, and rate limits.
references/evidence-trust-ladder.mdEvidence levels A–E, proof precedence, and evidence ledger format.
references/capability-graph.mdFull routing matrix, availability state vocabulary, and unresolved names policy.
references/workflow-state-machine.mdDetailed state machine transitions, invariants, and skipped-stage policies.
references/agentic-recipes.mdStandard mission recipes: PR repair, feature build, bug debug, security audit, backlog audit.
references/prompt-contracts.mdPrompt contract standard, copy-ready autonomous prompt skeleton, master router.

7. Artifact Templates

Standard machine-readable templates in templates/:

  • templates/routing-packet.yaml: Machine-readable capability routing packet.
  • templates/evidence-ledger.md: Evidence ledger Markdown block.
  • templates/prompt-contract.yaml: Prompt contract standard.
  • templates/agentic-mission-skeleton.md: Copy-ready autonomous prompt skeleton.

8. Verification & Completion Criteria

A task orchestrated under this skill is complete ONLY when:

  1. All changes are verified by Level A (Direct State) or Level B (Executable Proof).
  2. Open PR bot context is completely dispositioned and reflected in current head SHA.
  3. Evidence ledger is fully recorded with zero unverified assumptions.
  4. Final verdict is explicitly emitted as COMPLETE or COMPLETE_WITH_FOLLOWUPS.

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.