agentsclimarketplace

Codex ops

Skill sarveshsea/design-skills/skills/codex-ops

Codex and Claude operating workflow for Memoire - JSON-first commands, commit hygiene, review loops, memory capture, and safe autonomous repo operationFrom its SKILL.md

Install
npx -y skills add sarveshsea/design-skills --skill codex-ops

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

2 things to look at

  • 6 stars6 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
  • runs commandsInstructs the agent to run 8 commands, including `memi status --json` and 7 more.

SKILL.md

2.9 KB, 643 tokens by cl100k_base, as published. Nobody here has run it

Codex Ops

Use this when Codex or Claude is operating inside the Memoire repository and needs a stable workflow for safe autonomous changes.

Core Rule

Prefer machine-readable command output whenever Memoire exposes it. Do not scrape terminal prose if a JSON surface exists.

Current JSON-first commands:

  • memi status --json
  • memi connect --json
  • memi notes list --json
  • memi notes info <name> --json
  • memi compose "..." --json
  • memi doctor --json
  • memi generate --json
  • memi export --json

Execution Pattern

  1. Inspect state first with JSON-capable commands.
  2. Use dry-run modes before mutating files when available.
  3. Make one coherent change at a time.
  4. Verify with focused tests or typecheck.
  5. Commit and push each lane separately.

Commit Hygiene

  • Keep each commit scoped to one behavior or one workflow lane.
  • Do not mix note content, command changes, and unrelated generated output.
  • If the worktree is already dirty, treat existing changes as user state unless you know they were produced by your own current lane.
  • Do not rewrite or revert unrelated files to make your diff cleaner.

Review Loop

  • Read the diff before every commit.
  • Prefer targeted regression tests over broad reruns first.
  • If a command has a --json mode, add or update tests against the structured payload rather than asserting on human-readable formatting.
  • When a fix changes behavior, verify both the focused path and the combined command suite that overlaps it.

Memory Capture

  • If a workflow becomes stable, encode it in a built-in note or skill instead of repeating it in freeform prompts.
  • If a command repeatedly needs structured output, add --json instead of teaching agents to parse ASCII tables or prose.
  • If a repository convention matters across many commits, capture it in a note, not only in one changelog entry or one conversation.

Safe Autonomy

  • Prefer additive or explicitly scoped changes.
  • Use --dry-run, doctor, and status --json before destructive or broad operations.
  • Treat .memoire/, generated outputs, preview artifacts, and user specs as project state, not disposable scratch space.
  • When a lane is already pushed to main, reconcile local work to HEAD instead of silently diverging.

Recommended Sequence

For a normal implementation lane:

  1. memi status --json
  2. memi connect --json
  3. memi doctor --json
  4. edit the smallest viable set of files
  5. run focused tests
  6. run npm run typecheck
  7. commit one lane
  8. push immediately

For note work:

  1. add note.json
  2. add the markdown skill file
  3. add a focused note regression test
  4. run the note tests plus typecheck
  5. commit and push that note as its own lane

What ships with it: 1 file

812 B alongside SKILL.md

Keep looking

Skills are one crate of 325,949. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.