mode-classification

$npx mdskill add agentlas-ai/Agentlas-OS/mode-classification

Classifies user request into single-agent, team, or packager mode.

  • Determines whether to create a single agent, a team, or package existing material.
  • Inspects user request and any provided files like repos, ZIPs, or agent files.
  • Counts independent ownership boundaries and checks synthesis needs for multi-role setups.
  • Outputs a mode choice: single-agent-creator, team-builder, or agentlas-packager.

SKILL.md

.github/skills/mode-classificationView on GitHub ↗
---
name: mode-classification
description: "Use before routing a /meta-agent request to choose single-agent-creator, team-builder, or agentlas-packager from the user's wording and available files."
---

# Mode Classification

Pick one Agentlas meta-agent mode before generating or repairing files.

## Procedure

1. Inspect the user request and any provided path, repo, ZIP, prompt, or agent
   files.
2. Step 0 - existing material wins: if existing material is being converted,
   repaired, cleaned, imported, or released, choose `agentlas-packager`.
3. Step 1 - count independent ownership boundaries. Ask how many roles must
   independently own all three of:
   - their own memory/context;
   - their own tools/permissions;
   - their own success criteria.
   One boundary means `single-agent-creator`. Two or more boundaries means a
   `team-builder` candidate. If the boundary count is unclear, run the clarify
   question loop before generating; do not infer from the word "team" alone.
4. Step 2 - check synthesis need for multi-boundary candidates. If those role
   outputs must be routed, reviewed, synthesized, or chained through
   produces/consumes dependencies, choose `team-builder` and require an
   orchestrator/HQ plus memory, policy, eval, and QA. If the roles are
   unrelated, create separate single-agent packages instead of one team.
5. Step 3 - shape guard. `single-agent-creator` may have many skills/tools but
   must not emit multiple loose worker `agent.md` files. `team-builder` may be
   small, but it must not omit the orchestrator/HQ.
6. Use keyword signals only as hints after the ownership-boundary check:
   - MULTI hints: separate memory partitions, tools or permissions that must
     not be merged, role-to-role review/policy separation, and
     produces/consumes pipelines.
   - SINGLE hints: one coherent job, many tools/skills owned by one worker, no
     routing or final synthesis requirement.
7. Overlay check: if the request depends on knowledge search over user
   documents, evidence-based or citation-attached generation, or a document
   corpus (HWPX/docx/pdf/제안서/계약서/견적서), additionally apply the
   `ontology-backed-agent` overlay (`modes/ontology-backed-agent.md`) with
   `ontology_backed: true` on the chosen base mode.
8. Loop policy: derive `loop_policy` from task purpose and risk using
   `.agentlas/contract-injection-map.json` risk tiers — `none` for simple
   one-shot tasks, `self-correct` for complex or long-running work, `verified`
   (separate-context verifier + side-effect gate) when the agent performs
   external writes or sends. Do not force loops onto simple tasks.
9. If the choice changes the output and the request is ambiguous, run the
   clarify question loop instead of guessing.

## Return

Return the selected mode, whether the `ontology-backed-agent` overlay applies,
the derived `loop_policy`, and one short reason. Then route to the matching
builder.

## Reference

See `docs/mode-classifier.md`.

More from agentlas-ai/Agentlas-OS

SkillDescription
agent-team-designUse when designing a new multi-agent team, visible agents folder, role boundaries, handoff flow, PM Soul, Memory Curator, Policy Gate, or evaluation role. Use for agent-team repo creation even when the user only says they want a meta-agent or agent operating system.
agentlas-auto-activationUse when adding or auditing local runtime behavior that turns a project folder into an Agentlas-aware workspace with .agentlas memory and sitemap files.
agentlas-core-engine-meta-agentUse when creating a single Agentlas agent, creating a multi-agent team, or packaging an existing local/external agent into Agentlas architecture. Make sure to use this for /meta-agent requests.
agentlas-packagingUse when converting, repairing, or packaging an existing local or external agent/team into Agentlas architecture for local install, Agentlas import, Codex plugin use, Claude adapter use, or open-source release.
agentlas-security-scanUse when an agent folder must pass the Agentlas Cloud 2-stage security scan (static rules + BYOK LLM judgment) before private sync or public publish, or when asked to run/interpret `hephaestus security scan`.
clarify-question-loopUse when a meta-agent request is too ambiguous to safely generate, package, publish, or adapt without one to five targeted questions.
hephaestus-buildUse when the user types /prompts:hep-build, mentions @Hephaestus for build work, asks to create a single Agentlas agent, create a multi-agent team, or package an existing local/external agent into Agentlas architecture.
hephaestus-cloudUse when the user types /hep-cloud or asks to staff from THEIR OWN Agentlas cloud packages only. Cloud is one exact source scope; Network means Local + owner Cloud + public Hub.
hephaestus-networkUse when the user types /hep-network, mentions @Hephaestus, or asks Agentlas to staff a task from registered Local, owner Cloud, and public Hub agents or teams. The active host LLM is the temporary orchestrator.
hephaestus-stormUse when the user types /hep-storm, says @Hephaestus storm <goal>, or asks to drive a goal to verified completion through a force-robust Stormbreaker loop. Stormbreaker routes the goal to real Agentlas specialists, materializes a dependency-ordered pipeline fabric, and runs each work packet as a verifier-first hardened loop that does not stall, run away, or claim false success. Use it for loop-worthy work — apps, sites, agents, automations, debugging, multi-step research, data/report generation. Trivial questions are answered directly, not stormed.