agentleFS
89jobrien89jobrien/godmode/skills/ingest/SKILL.md

godmode:ingest

Skill1 starsChanged 57 days agoMITView on GitHub

Use for "/gm:ingest", "/gm-ingest", "ingest plan", or "import plan", especially when loading multiple Markdown plans into one existing graph, avoiding task ID collisions, or verifying which tasks were added versus skipped.

The file

We split this skill into the rules it gives an agent

5 rules. About 0 are common, 3 are distinctive, and 2 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.

  • 2

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Treat a supplied path as a literal file path.

    line 18
  2. Very specific:

    If no path is supplied, select the most recently modified Markdown file under .ctx/godmode/plans/.

    line 19
  3. Distinctive:

    Read the plan and verify:

    line 26
  4. Very specific:

    Do not clear the graph, remove tasks, or edit .ctx/godmode/tasks.yaml directly.

    line 39
  5. Distinctive:

    If a reserved ID contains different content, ingestion fails instead of silently dropping or overwriting work.

    line 68

≈ “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

Ingest

Load one plan into the existing task graph without clearing history or colliding with tasks from earlier plans.

Resolve The Plan

  1. Treat a supplied path as a literal file path. Never execute or interpolate it as shell syntax.
  2. If no path is supplied, select the most recently modified Markdown file under .ctx/godmode/plans/.
  3. Require an existing Markdown file. If a supplied path is missing, report it rather than adding an extension or selecting a different file silently.

Validate Before Ingesting

Read the plan and verify:

  • At least one ### Task N: <title> heading exists.
  • Plans produced by godmode:writing-plans have one **Crate**:, **File(s)**:, and **Run**: annotation per task. For manually authored plans, only task headings are mandatory.
  • Task titles are non-empty.

Capture the current graph before mutation:

godmode task list --json

Do not clear the graph, remove tasks, or edit .ctx/godmode/tasks.yaml directly.

Ingest

Run:

godmode --json plan ingest "/absolute/path/to/plan.md"

The CLI allocates IDs as follows:

  • A first plan keeps its parsed t1, t2, ... IDs when they are unused.
  • A later plan whose IDs collide with different tasks receives deterministic IDs prefixed by its sanitized file stem, such as second-plan-t1.
  • Internal dependencies are rewritten into the same namespace.
  • Prefix an explicit dependency with graph:, such as graph:t1, when it must reference an existing graph task instead of a task from the plan.
  • Plan identity is the recorded source path. Generated IDs start with the sanitized file stem and add a deterministic source hash when another plan already owns that namespace, so equal filenames in different directories remain distinct.
  • A recorded path that no longer exists on disk is treated as a relocation of the same plan, so moving a plan file does not mint a second namespaced chain. The match requires an unambiguous file stem plus recorded tasks that are still in the graph with matching title, crate, and run. Two plan files that share a stem and both still exist remain distinct plans.
  • Re-ingesting the same plan returns the same IDs, whether it stayed at its path or moved, and skips each task whose assigned ID is already in the graph with matching content.
  • Shortening an already imported plan fails rather than orphaning its removed tasks. Reconcile those tasks explicitly before retrying.
  • If a reserved ID contains different content, ingestion fails instead of silently dropping or overwriting work.

Require the JSON response to include parsed, added, skipped, and ids. Verify parsed == added + skipped. If these fields are absent, the installed CLI predates collision-safe ingestion; stop and update the binary before trusting the graph.

Verify After Ingesting

Capture the graph and next runnable work:

godmode task list --json
godmode task next --json

Confirm every reported ID exists after ingestion and that each newly added dependency references the intended task. An idempotent re-ingest with added = 0 and skipped = parsed is successful, including after the plan file has been moved.

Report

Report:

  • Exact plan path.
  • Parsed, added, and skipped counts.
  • Assigned task IDs.
  • Next runnable task from this plan, plus any unrelated runnable work already in the graph.

On success, hand off to godmode:task-driven-development or /gm:tdd.

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.