agentleFS
Arch1eSUNArch1eSUN/Arcgentic/skills/session-mode/SKILL.md

session-mode

Skill286 starsChanged 5 months agoMITView on GitHub

Use when a project has not yet stored session mode, when a user asks for complete arcgentic workflow execution, or when role identity handoff prompts are needed.

The file

We split this skill into the rules it gives an agent

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

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈4

    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:

    Read .agentic-rounds/state.yaml and the round handoff.

    line 14
  2. Very specific:

    If project.session_mode.mode is already set, treat it as fact and skip the recommendation/choice step.

    line 15
  3. Distinctive:

    If no project-level mode exists, generate a recommendation:

    line 17
  4. Distinctive:

    Do not enter developer work before the mode gate is resolved.

    line 54
  5. Distinctive:

    Do not re-ask the user when project-level mode is already stored.

    line 55
  6. Distinctive:

    Do not claim single-session auto-audit when dispatch transport is unavailable.

    line 56

≈ “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

session-mode

Resolves project-level single-session vs multi-session execution and prints role-specific identity prompts. Once project.session_mode is present in .agentic-rounds/state.yaml, do not ask again per round.

Workflow

  1. Read .agentic-rounds/state.yaml and the round handoff.
  2. If project.session_mode.mode is already set, treat it as fact and skip the recommendation/choice step.
  3. If no project-level mode exists, generate a recommendation:

    arcgentic session-mode recommend \
      --round <round-id> \
      --handoff <handoff-path>
  4. Print recommendation, confidence, reasons, suggested role identities, and override instructions before asking the user to choose.
  5. Print only the identity handoff prompt needed for the next role:

    arcgentic session-mode prompt \
      --round <round-id> \
      --handoff <handoff-path> \
      --mode multi-session \
      --role developer

    V1 valid roles: developer, auditor, closeout.

  6. For V2 Codex-native orchestration, generate the fixed-role host plan instead of per-round role prompts:

    arcgentic v2-session-plan \
      --state .agentic-rounds/state.yaml \
      --host codex

    V2 session roles are fixed to Orchestrator, Planner, Developer, and Auditor. close-round is an orchestrator-owned command, not a session role.

Boundaries

  • Do not enter developer work before the mode gate is resolved.
  • Do not re-ask the user when project-level mode is already stored.
  • Do not claim single-session auto-audit when dispatch transport is unavailable.
  • In V1, developer, auditor, and closeout identity prompts must remain separate.
  • In V2, keep exactly four fixed role sessions and never create round-numbered role threads.

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.