byan-mantra-audit
Semantic embodiment audit of a BYAN persona against its applicable mantras. Out-of-band, LLM-judged, kept out of the commit gate.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Semantic embodiment audit of a BYAN persona against its applicable mantras. Out-of-band, LLM-judged, kept out of the commit gate.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
BYAN — Builder of YAN. Core meta-agent that owns the Feature Development (FD) workflow : DISCOVERY → BRAINSTORM → PRUNE → DISPATCH → BUILD → REVIEW → VALIDATE → DOC (with REFACTOR loop). Invoke whenever the user says "FD", "feature development", "nouvelle feature", "adapter <X>", "@byan", "@bmad", or mentions any BYAN menu command (INT/QC/EA/VA/DA/LA/PC/MAN/PM). Applies Merise Agile + TDD + 71 mantras. Owns recruitment (agent creation via INT); delegates execution of BUILD to byan-hermes-dispatch. Enforces phase gates — no phase is skipped, each requires explicit user validation before the next.
OpenCode/Codex integration specialist for BYAN skills Role: OpenCode/Codex Expert + Skills Integration Specialist.
BYAN local project skill. Use when working in the BYAN repo, invoking BYAN agents/workflows/commands, enforcing BYAN Strict Mode, or needing the portable BYAN filesystem map.
Autonomous BYAN dispatcher. Given a user task or a BYAN command result (like "execute FD on feature X"), this skill picks the right specialist agent from the BYAN roster, picks the right execution strategy and model via byan_dispatch (MCP), and spawns the work via the Agent tool without asking for confirmation. Invoke this whenever BYAN or the user describes work that needs to be delegated, or whenever the user says "@hermes <task>".
Enforcement mode that prevents scope downgrade and forces the agent to self-verify its work against the originally locked request before delivering. Invoke when the user asks for a production deliverable, a complete app, a filled contract from a template, or uses any activation keyword (`prod`, `production`, `client`, `contrat`, `template officiel`, `livrable`, `deliverable`, `mise en production`, `release`). Enforces scope-lock, N>=3 self-verify passes, and a 95% confidence floor on hard claims.
Fact-check scientifique BYAN (Demonstrable, Quantifiable, Reproductible). Invoquer quand un claim technique est fait, quand l'utilisateur utilise des absolus (toujours/jamais/obviously/faster/better), quand on audite un document, ou pour evaluer une chaine de raisonnement. Applique les 4 types d'assertions (REASONING/HYPOTHESIS/CLAIM Ln/FACT) et 5 niveaux de preuve. Domaines stricts (security/performance/compliance) = LEVEL-2 minimum.
| name | byan-mantra-audit |
| description | Semantic embodiment audit of a BYAN persona against its applicable mantras. Out-of-band, LLM-judged, kept out of the commit gate. |
This skill runs the deep, semantic half of mantra validation, the layer above the deterministic anti-stub floor enforced at commit time. The pre-commit gate asks "does this persona contain its domain vocabulary"; this skill asks "does this persona genuinely EMBODY each applicable mantra", judged by you (the LLM), not by keyword presence. It runs on demand, outside the commit path.
This audit needs the BYAN v2 runtime (src/byan-v2/generation/mantra-audit.js). It
runs from the BYAN repository; a generated/npm-installed BYAN project does not ship
that runtime yet. Check before running anything:
test -f src/byan-v2/generation/mantra-audit.js && echo OK || echo "N2 runtime absent"
If it prints N2 runtime absent, STOP and tell the user plainly: the embodiment
audit runs from the BYAN repository and is not yet delivered to generated projects.
Do NOT run the node commands below, they would fail with MODULE_NOT_FOUND.
PREPARE (deterministic). Build the judgment packet for the target persona:
node src/byan-v2/generation/mantra-audit.js prepare <path/to/agent.md>
It resolves the persona's scope (scope-resolver), lists only the applicable
mantras, and emits a rubric plus the persona text. Add --json for the raw packet.
JUDGE (you, this turn). For each mantra in the packet decide embodied,
partial, or absent. Judge embodiment, not vocabulary: a mantra is embodied
when the persona's role, instructions, and red-lines enact the principle, even
if the exact keyword is absent. Write the verdicts to a JSON file:
{ "<mantraId>": "embodied" | "partial" | "absent", ... }.
SCORE (deterministic):
node src/byan-v2/generation/mantra-audit.js score <path/to/agent.md> <verdicts.json>
It returns the embodiment score and the embodied / partial / absent / unjudged breakdown.
REPORT. Present the embodiment score, the absent mantras, and concrete suggestions to raise embodiment, what the persona should ENACT, not which keyword to insert.
partial or absent when the persona only
alludes to a mantra without enacting it.