by fus3r
See how Claude Code or Codex will read your prompt before it starts, and switch the choices it would make.
Available after the catalog security scan passes.
⚠️ Third-Party Software Notice
This skill is third-party open-source software developed and hosted independently on GitHub. SkillsLLM lists this project for discovery and does not control or maintain the underlying repository.
Any security checks, ratings, or warnings displayed by SkillsLLM are automated and limited in scope. They do not constitute a security certification or guarantee that the software is safe, error-free, or free from malicious code, vulnerabilities, compromised dependencies, or prompt-injection risks.
Review the source code, permissions, dependencies, and configuration before installing or running any third-party skill. Use is at your own risk. To the maximum extent permitted by applicable law, SkillsLLM is not liable for losses arising from third-party software.
The deep catalog scan for this skill is still queued. Run an instant dependency check now instead.
# Add to your Claude Code skills
git clone https://github.com/fus3r/margincueGuides for using ai agents skills like margincue.
See how margincue compares with popular alternatives.
See how Claude Code or Codex will read your prompt before it starts, and steer the choices it makes while it works.
Claude Code 2.1.326 or later, at the prompt:
/plugin install margincue --marketplace fus3r/margincue
Answer y to add the marketplace, then choose a scope. In the desktop app: + next to the prompt box, Plugins, Add marketplace fus3r/margincue, then Add plugin.
Codex CLI 0.171 or later, with Node 20 or later:
npx -y github:fus3r/margincue setup
Accept the codex alias during setup. Open a new terminal (including a new terminal tab in VS Code) and run codex: the card sits under Codex's prompt and follows what you type. On Windows, press Ctrl+G at the Codex prompt to open it. Codex guide and direct launch command
Codex in the ChatGPT desktop app shows the card at Enter on new tasks. Install and test the desktop card
First test: type a one-letter typo of a real identifier from your repo, in backticks (getUsr for getUser), and watch the card flag it.
While you type:
activityLogs) is flagged before you send, with the closest names it does have, one key each.While Claude works:
Review first is an opt-in preview enabled with /margincue audit on in Claude Code or "audit": "on" in Codex's ~/.margincue/settings.json. It puts flagged choices first and shows the reason and evidence for each flag.
The pilot log stays local and records prompts and choices only while audit is on. It uses ~/.margincue/review-first.jsonl by default or $MARGINCUE_HOME/review-first.jsonl when set.
It adapts to you and to the project. The first run asks what you work on and your level in each field. A data challenge or a research repository brings in the matching expert decisions (statistics and machine learning, system design), at the depth you asked for.
The § line shows a matching chapter's Choice note at your level. In Claude Code, press ctrl+x tab then b to expand or collapse it (z drops it), and use /margincue chapters on|off to switch it.
In Claude Code, press ctrl+x tab then r, or run /margincue review, to find up to two consequential choices your draft leaves open. The review uses your selected profile and level and skips choices already on the card.
| Key | What it does |
|---|---|
alt+↑ / alt+↓ (or ctrl+↑ / ctrl+↓) |
Next row / change its value, without leaving the prompt |
ctrl+x tab, then 1–9, x, s, p |
Pick an option, drop a row, open the sketch, attach it to the prompt |
ctrl+x tab, then k (Claude Code) |
Keep all shown selections. Pick hard-to-undo choices individually |
| A number in the empty prompt during a turn | Switch Claude's focused choice right away |
ctrl+] then c (Codex) |
Read the draft in key mode with relay 0.1.3 or later |
ctrl+] then k (Codex) |
Keep all shown selections, with relay 0.1.4 or later. The full-screen card uses tab, then k |
e on a focused receipt choice (Claude Code terminal) |
Open related edits |
ctrl+] then t (Codex) |
MarginCue off or on for this session |
Everything on the card also takes clicks.
In Claude Code, each reading and each sketch is one small Haiku call through your own session, so it counts toward your plan. In Codex, each reading or sketch is a short thread through your own Codex login, on the lightest model your account offers, never saved to your history. A reading runs when you finish a sentence or pause in the composers, or on Enter in the Codex desktop app. /margincue mode quiet keeps the card to one line while you type, /margincue sketch off drops sketches, and /margincue mode off stops everything. In Codex desktop, quiet mode skips the card at Enter.
Your draft goes to Claude the same way your prompt does, through your own session, with a little context from the project: an outline of its folders and file names (at most 3,200 characters), the file where each name in your draft was found, a few related folders with their file names, and one line about you from your first-run answers. MarginCue keeps file contents on your machine unless you open a receipt diff that needs one Claude reading, which sends only a bounded set of potentially related hunks. The project index (file names and declared names, read with git or ripgrep), your first-run answers and your learned picks are stored on your machine. There is no telemetry; /margincue log <path> writes a local log of counts and timings, never your text.
| Card before work | Choices as switches | Receipt | |
|---|---|---|---|
| Claude Code: terminal (macOS, Linux, Windows) | above the prompt | on the card, during the turn | under the answer |
| Claude Code: desktop app (Code tab), VS Code | at Enter (these apps show plugins no draft): each choice Claude would make as a dropdown, above Claude's send question, whose "Other" adds to your prompt | above the prompt, during the turn | under the answer |
| Codex CLI | under the prompt as you type (macOS, Linux; on Windows, on ctrl+g) | under the prompt; the change goes in the prompt box and Enter sends it into the turn | after the turn |
| Codex in the ChatGPT desktop app | at Enter on new tasks, as an interactive card before Codex starts | marked in the reply | after the turn |
| Codex IDE extension | at the top of the agent's reply | marked in the reply | after the turn |
In Claude Code, /margincue status shows what MarginCue knows about you and the project, /margincue setup asks the first-run questions again, and /margincue card|sketch|refs|blanks on|off switches each part. Use /margincue send open|all|picked to choose what the card sends and /margincue read auto|key to choose when it reads. Claude Code guide
In Codex, set send and read in ~/.margincue/settings.json, and update a field with margincue level <profile> <learning|practitioner|expert>. Codex settings and shortcuts
node --test spec/*.unit.ts
node spec/run-traces.ts
claude plugin test mods/claude-code
cargo test --release --manifest-path crates/margincue-relay/Cargo.toml
The Claude Code mod carries the MIT license.
Inspired by Bruce Liu's Feedforward.
margincue is an open-source ai agents skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by fus3r. See how Claude Code or Codex will read your prompt before it starts, and switch the choices it would make. It has 50 GitHub stars.
margincue's catalog security scan is still queued. You can run an instant dependency and prompt-injection check now with the "Scan for vulnerabilities" button above.
Clone the repository with "git clone https://github.com/fus3r/margincue" and add it to your Claude Code skills directory (see the Installation section above).
margincue is primarily written in TypeScript. It is open-source under fus3r on GitHub, so you can review or fork the full source.
Yes. SkillsLLM lists many other AI Agents skills you can browse and compare side by side. Open the AI Agents category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh margincue against similar tools.
No comments yet. Be the first to share your thoughts!