cartographer
A standalone Cartographer CLI plus Claude Code plugin for mapping and navigating codebases.
A two-layer skill for writing prompts, agent directives, skill descriptions, slash commands, and anywhere else an LLM reads instructions.
> /plugin marketplace add kingbootoshi/directional-prompting> /plugin install directional-prompting@directional-prompting-marketplace
A two-layer skill for writing prompts, agent directives, skill descriptions, slash commands, and anywhere else an LLM reads instructions. Works the same in Claude Code and OpenAI Codex CLI.
Same SKILL.md, same trigger surface, same outcome. Drop it into ~/.claude/skills/directional-prompting/ and ~/.codex/skills/directional-prompting/ and both agents pick it up natively.
Layer 1 — Outcome. Every non-trivial prompt opens with a block that names the destination: the goal, what "done" looks like, when to stop, the true invariants. This is the frame.
Layer 2 — Direction. Inside that frame, every sentence names the path forward with positive verbs. "Trace", "build", "use", "read", "return", "ask", "check". The correct behavior is described so clearly and completely that the wrong behavior has no room to exist.
Outcome without direction reads as wishful — the model knows where to go but not how to step. Direction without outcome wanders — the model walks crisp paths to nowhere. Both layers together: a model that knows the destination and walks toward it on every token.
Modern frontier models follow instructions literally. The Claude 4.7 guide: "Positive examples showing how Claude can communicate with the appropriate level of concision tend to be more effective than negative examples or instructions that tell the model what not to do." The GPT-5.5 guide: "GPT-5.5 is strongest when the prompt defines the target outcome, success criteria, constraints, and available context, then lets the model choose the path."
Both labs converge on the same shape. Name the destination. Name the path. Skip the prohibitions.
When the agent sees prompt-authoring language (write a prompt, improve this prompt, audit this system prompt, outcome-first, make this prompt positive, or any new skill, agent, or directive being authored), it:
Goal:, Success means:, Stop when: (plus Constraints: when needed).don't, do not, never, avoid, refrain, instead of, rather than, not allowed, prohibited, forbidden, won't, shouldn't — and rewrites each as the positive replacement.ALWAYS / NEVER / MUST down to plain prose so the absolute-rule signal stays loud where it matters.Before — no outcome block, mostly negatives, seven don'ts:
You are a code reviewer. Don't be too harsh. Don't nitpick formatting.
Avoid making assumptions about the author's intent. Never approve code
with obvious bugs. Don't suggest changes that aren't actionable. Try
not to be vague. Avoid emojis.
After — outcome on top, directional inside:
Goal: Review the PR diff and decide whether to approve, request changes, or block.
Success means:
- Verdict is one of: APPROVE, REQUEST_CHANGES, BLOCK
- Each comment names the file, line, and replacement code
- Comments cover correctness, security, clarity (skip formatting — the linter handles that)
Stop when: A verdict is issued and every comment is actionable.
Focus on bugs you can reproduce, security boundaries, and unclear logic.
Ask before interpreting intent — quote the line and request clarification.
Block merges on reproducible bugs. Write in plain text.
Same constraints, half the length. The model knows the destination (verdict plus actionable comments), how to stop (verdict issued), and every sentence in the body pulls forward.
Add the marketplace, then install the plugin:
/plugin marketplace add kingbootoshi/directional-prompting
/plugin install directional-prompting
Restart Claude Code if the skill does not appear immediately. After install, the skill triggers automatically on prompt-authoring language, or you can invoke it explicitly.
Codex looks for skills at ~/.codex/skills/<name>/. Drop the skill directory there:
git clone https://github.com/kingbootoshi/directional-prompting.git ~/.directional-prompting
mkdir -p ~/.codex/skills
ln -sfn ~/.directional-prompting/plugins/directional-prompting/skills/directional-prompting ~/.codex/skills/directional-prompting
Restart Codex if needed. Invoke explicitly by asking Codex to "use directional prompting on this" or it will auto-select on prompt-authoring language.
Keep the skill in one place and symlink it into both agents:
# clone once
git clone https://github.com/kingbootoshi/directional-prompting.git ~/.directional-prompting
# Claude Code
mkdir -p ~/.claude/skills
ln -sfn ~/.directional-prompting/plugins/directional-prompting/skills/directional-prompting ~/.claude/skills/directional-prompting
# Codex CLI
mkdir -p ~/.codex/skills
ln -sfn ~/.directional-prompting/plugins/directional-prompting/skills/directional-prompting ~/.codex/skills/directional-prompting
Both agents follow symlinks for skill discovery, so updates to the cloned repo flow to both automatically.
Run this skill whenever you write or audit any of the following:
AGENTS.md, CLAUDE.md, project instructionsSKILL.md bodiesFor each draft, run the four-check pass inside the skill:
ALWAYS / NEVER / MUST a true invariant? Demote the decorative ones to plain prose.A coding agent reads its system prompt on every turn. A negation that plants the wrong concept gets re-planted dozens of times per session. A vague outcome lets the agent's notion of "done" drift turn-by-turn.
Outcome plus direction together re-load the correct frame on every turn — the agent's attention is structurally aimed at the destination, and every instruction in the body points toward it.
directional-prompting/
.claude-plugin/
marketplace.json
plugins/
directional-prompting/
skills/
directional-prompting/
SKILL.md # the skill itself
agents/
openai.yaml # Codex-specific UI metadata
assets/
hero.jpeg
Built against the open Agent Skills standard. Works in any agent that scans a skills directory for SKILL.md:
| Agent | Personal path | Project path |
|---|---|---|
| Claude Code | ~/.claude/skills/directional-prompting/ | .claude/skills/directional-prompting/ |
| OpenAI Codex CLI | ~/.codex/skills/directional-prompting/ | .agents/skills/directional-prompting/ or .codex/skills/directional-prompting/ |
| Cursor | n/a | .cursor/skills/directional-prompting/ |
| Google Antigravity | ~/.gemini/antigravity/skills/directional-prompting/ | .agent/skills/directional-prompting/ |
The agents/openai.yaml sidecar is Codex-specific UI metadata. Other agents ignore it.
MIT.
A standalone Cartographer CLI plus Claude Code plugin for mapping and navigating codebases.
Delegate tasks to OpenAI Codex agents via tmux sessions. Designed for Claude Code orchestration. Spawn parallel coding agents, monitor their progress, send follow-up messages mid-task, and capture results - all from Claude Code or the command line.
AI image generation CLI powered by Gemini 3.1 Flash Image Preview (default) with support for Gemini 3 Pro and any Gemini model.
directional-prompting is a Claude Code plugin with 1 hand-picked skill, indexed on Flowy in the Skill Authoring category. Install it with the command on its page. It includes directional-prompting. Its skills do not fire on their own yet. Request auto-invocation to have Flowy route them as you prompt. Free and open source.
Is this plugin yours?
Claim it with GitHubSubmit a pluginPromote it