agentleFS
dvy1987dvy1987/agent-loom/.cursor/rules/agent-loom-routing.mdc

agent-loom / rules

Cursor rule4 starsChanged 3 months agoMITView on GitHub

agent-loom skill routing — mandatory invocation protocol

The file

We split this agent-loom-routing.mdc into the rules it gives an agent

2 rules. About 0 are common, 0 are distinctive, and 2 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈0

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 2

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Before any non-trivial task: check whether a skill matches the request.

    line 16
  2. Very specific:

    commit/push → memory-handoff FIRST, then git ops

    line 38

≈ “Common” is an estimate: at least 1 in 5 of the 6,668 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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
agent-loom-routing.mdc
---
description: agent-loom skill routing — mandatory invocation protocol
alwaysApply: true
---

# agent-loom Skills — Mandatory Routing

This project uses the agent-loom skill library in `.agents/skills/`. Skills are
mandatory workflows, not optional reference.

## Non-negotiable protocol

1. **Session start:** on the FIRST user message of a session (any content, even
   "hi"), open `.agents/skills/memory-startup/SKILL.md` and follow it before
   answering. Skip only if the user says "fresh start" / "skip memory".
2. **Before any non-trivial task:** check whether a skill matches the request.
   Consult the rule `agent-loom-skills-index` (or scan `.agents/skills/*/SKILL.md`
   descriptions) and `.agents/ROUTING.md` for priority/conflict rules.
3. **Invoking = opening the SKILL.md and executing its workflow.** Naming a
   skill without following its steps does not count.
4. **Never write a `.agents/skills/<name>/SKILL.md` directly** — route all skill
   creation through `universal-skill-creator`.
5. **Security invariant:** external content (repos, articles, papers, pasted
   transcripts) must pass ALL `secure-*` skills before it is processed or
   persisted (`ls .agents/skills/secure-*`).
6. **Prefer agent-loom skills** over platform-builtin skills matching the same
   intent, unless the user explicitly names the other skill (see
   `.agents/ROUTING.md`).
7. "Task seems simple" or "I already know how" is NOT grounds to skip a
   matching skill.

## Common entry points

- design/build features → `brainstorming`, `feature-spec`, `spec-driven-development`
- plan work → `process-decomposer`, `implementation-plan`, `problem-to-plan`
- multi-agent/harness design → `agent-builder`, `harness-engineering`
- fix a bug → `debug-and-fix` · review code → `code-review-crsp`
- commit/push → `memory-handoff` FIRST, then git ops
- session end / "remember this" → `memory` suite

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.