agent-orchestrator / rules
Cursor rule4 starsChanged 7 months agoMITView on GitHub
Secret handling and safety rules for MCP tool config files and repo-local MCP helper scripts
- Reads credentials
Where files are headingNew Cursor rule files have more rules about planning and tracking tasks, and fewer about code style.
Of the Cursor rule files we read, the 1,531 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.
In this repository61 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- .cursor/rules/ai-workspace-projections.mdcCursor rule
- .cursor/rules/node-typescript.mdcCursor rule
- .cursor/rules/runstore-listruns-cache.mdcCursor rule
- .cursor/rules/worker-posture.mdcCursor rule
- .cursor/rules/worker-safety.mdcCursor rule
- await-pr-checksSkill
- commitSkill
- create-agentSkill
- create-issueSkill
- create-mcpSkill
- create-planSkill
- create-prSkill
- create-ruleSkill
- create-skillSkill
- create-test-planSkill
- implement-planSkill
- load-contextSkill
- mergeprepSkill
- orchestrate-create-planSkill
- orchestrate-create-test-planSkill
- orchestrate-implement-planSkill
- orchestrate-resolve-pr-commentsSkill
- orchestrate-reviewSkill
- publish-releaseSkill
- resolve-conflictsSkill
- resolve-issue-commentsSkill
- resolve-pr-commentsSkill
- resolve-review-findingsSkill
- review-prSkill
- reviewSkill
- run-test-planSkill
- setup-worktreeSkill
- update-contextSkill
- await-pr-checksSkill
- commitSkill
- create-agentSkill
- create-issueSkill
- create-mcpSkill
- create-planSkill
- create-prSkill
- create-ruleSkill
- create-skillSkill
- create-test-planSkill
- implement-planSkill
- load-contextSkill
- orchestrate-create-planSkill
- orchestrate-create-test-planSkill
- orchestrate-implement-planSkill
- orchestrate-resolve-pr-commentsSkill
- orchestrate-reviewSkill
- publish-releaseSkill
- resolve-conflictsSkill
- resolve-issue-commentsSkill
- resolve-pr-commentsSkill
- review-prSkill
- reviewSkill
- run-test-planSkill
- setup-worktreeSkill
- The first 60 shown.
The file
We split this mcp-tool-configs.mdc into the rules it gives an agent
4 rules. About 0 are common, 1 is distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- could be automatic: a setting could enforce it
- Very specific: line 21
Never commit real tokens, API keys, .env contents, or user-level config.
- Very specific: line 27
Prefer user-level secrets at ~/.config/agent-orchestrator/mcp-secrets.env, process environment, or local gh auth.
- Very specific: line 30
Add new MCP servers to every supported client config in one pass: .mcp.json, .cursor/mcp.json, .codex/config.toml, and opencode.json.
- Distinctive: line 32
Keep simple non-secret env near the command definition so reviewers can see what the server receives.
≈ “Common” is an estimate: at least 1 in 5 of the 3,030 Cursor rule 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.
Files
--- description: "Secret handling and safety rules for MCP tool config files and repo-local MCP helper scripts" globs: - ".mcp.json" - ".cursor/mcp.json" - ".codex/config.toml" - "opencode.json" - "scripts/mcp-secret-bridge.mjs" - "scripts/init-mcp-secrets.mjs" - "scripts/gh-mcp-server.mjs" - "scripts/run-npx-mcp.mjs" - "docs/development/mcp-tooling.md" - "justfile" alwaysApply: false --- <!-- Generated from .agents/ by scripts/sync-ai-workspace.mjs. Do not edit directly. --> # MCP Tool Configs - Never commit real tokens, API keys, `.env` contents, or user-level config. - Secret-bearing MCP server entries must launch through `scripts/mcp-secret-bridge.mjs`. - The bridge may map canonical repo variables such as `GITHUB_TOKEN` to the child variable a server expects, such as `GITHUB_PERSONAL_ACCESS_TOKEN` or `GH_TOKEN`. - Prefer user-level secrets at `~/.config/agent-orchestrator/mcp-secrets.env`, process environment, or local `gh` auth. Do not use repo-local secret files. - Add new MCP servers to every supported client config in one pass: `.mcp.json`, `.cursor/mcp.json`, `.codex/config.toml`, and `opencode.json`. - Keep simple non-secret env near the command definition so reviewers can see what the server receives. - Guard high-risk CLI wrappers with blocked command patterns and client-side approval where supported.
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
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.

