Native rules-file skills pointer for Cursor + Codex - #1
Open
abuaboud wants to merge 1 commit into
Open
Conversation
Add .cursor/rules/craftspace.mdc and codex/AGENTS.md carrying the standing rule that makes agents call list_skills before acting on company procedures. A benchmark showed a bare MCP connection pulls the matching skill only ~1/3 of the time; this pointer makes it reliable. The rules file is more robust than the SessionStart hook (Cursor hook is GUI-only/unverified, codex exec skips hooks) and never goes stale since it tells the agent to call list_skills. Implements the reliability core of abuaboud/craftspace#453.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds the native, always-on skills pointer for the two non-Claude-Code clients:
setups/cursor/rules/craftspace.mdc(Cursor auto-attached rule,alwaysApply: true)setups/codex/AGENTS.md(Codex reads AGENTS.md every run)Why: a benchmark (12 fresh agents, 3 fingerprinted skills) showed a bare MCP connection pulls the matching skill only ~1/3 of the time — agents look only when a task obviously smells like company policy — while the one-line "check list_skills first" pointer took it to 100%. The rules file is more robust than the SessionStart hook for this pointer: Cursor's hook is GUI-only/unverified and
codex execskips hooks, but the rules file is always in context. It never goes stale because it tells the agent to calllist_skillsrather than materializing a skill list.Implements the reliability core of abuaboud/craftspace#453. The optional per-skill visible-card materialization (and a sync CLI) remain deferred as abuaboud/craftspace#454, pending the scope decision.