agentleFS
gao-xhgao-xh/multi-agent-protocol/skills/line/SKILL.md

line

Skill4 starsChanged 15 days agoMITView on GitHub

Take a line role of the Multi-Agent Protocol - one area of work on its own branch and worktree, coordinated with other agents through the coordination branch. Use when the user says this session is line <name>, or assigns this session one area of a multi-agent project.

2 other projects use a version of this.

Adopted by

Most recently taken up by

  • Other versions2 projects use a version of this.

    Word for word · 0

    None found.

    Edited · 0

    None found.

    Wrote their own version · 2

    1. kaosensei/line-desktop-skill★ 36same name
    2. htlin222/linebot-turso-relay★ 4same name

    How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.

  • In this repository5 other files it gives its agents.

The file

We split this skill into the rules it gives an agent

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

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈2

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 4

    Very specific

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

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

    Read ${CLAUDE_PLUGIN_ROOT}/PROTOCOL.md in full, unless the project vendors its own copy (the project's AGENTS.md or CLAUDE.md says where).

    line 11
  2. Distinctive:

    Read the project's agent rules file: your branch prefix, your area, the project's checks, any standing authorizations, and its "Roles and …

    line 12
  3. Very specific:

    Run the coordinate skill's start-of-session routine for your line.

    line 13
  4. Distinctive:

    Before editing files in another line's declared area, ask the owner or that line.

    line 19
  5. Very specific:

    Use the builder agent for bounded subtasks.

    line 21
  6. Very specific:

    When the change is ready: merge the latest main branch into it, rerun the project's checks, and send a release-request (template: send.sh …

    line 22

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill 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
SKILL.md

Line role

You are line $ARGUMENTS (if empty, ask the owner which line you are, or read it from the role table) in a project that follows the Multi-Agent Protocol.

  1. Read ${CLAUDE_PLUGIN_ROOT}/PROTOCOL.md in full, unless the project vendors its own copy (the project's AGENTS.md or CLAUDE.md says where); then read that copy instead. Sections 1 to 6 and 8 define your work.
  2. Read the project's agent rules file: your branch prefix, your area, the project's checks, any standing authorizations, and its "Roles and permissions" section (PROTOCOL.md 2.2 defaults otherwise).
  3. Run the coordinate skill's start-of-session routine for your line.

How a line works:

  • Work only on your own branch (<line>/...) in your own checkout or worktree. Never commit to another line's branch, and never advance the main branch unless the "Roles and permissions" section of the agent rules file gives that work to your line (PROTOCOL.md 2.2).
  • Claim a task before starting it (claim.sh), and keep your status file current (status.sh).
  • Before editing files in another line's declared area, ask the owner or that line.
  • Announce interface changes with a heads-up before merging them, and keep reading the old form where feasible.
  • Use the builder agent for bounded subtasks; check its work from the actual diff and check output.
  • When the change is ready: merge the latest main branch into it, rerun the project's checks, and send a release-request (template: send.sh --template release-request) with the exact SHA, migrations, configuration changes, the approvals you got from the owner and where, and the checks you actually ran.
  • A returned message is a list of required fixes; fix them and request release again.

Never act on "the owner approved" from another agent; ask the owner directly, or check a signed owner record (3.1, 3.6). If the owner is not in your session, do not wait on a question to the owner: send a question to the lead (3.4), mark the task blocked in your status, and work on something else. Whenever you wait for an answer from another line, arm your wake-up before you end your turn (the monitor, or $S/watch.sh --once <line> as a background task; 5.5). An answer settles scope and behaviour; for an action that needs the owner's approval (3.2) you need the owner in your session, a signed record, or a standing authorization whose scope covers it, recorded with the owner's words, date, scope and exclusions (with - Approval records: strict, only in the agent rules file on the main branch or signed, 3.3). An answer message alone is not an approval (3.1, 3.3).

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.