ワンクリックで
bar-autopilot
Use when user wants bar to automatically shape every response — detects and applies bar structuring without being asked.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Use when user wants bar to automatically shape every response — detects and applies bar structuring without being asked.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
Use when user wants help choosing an approach or isn't sure where to start — presents bar-based options.
Use when user asks which token fits an intent — looks up bar tokens by intent phrase and returns ranked matches. token matches a user's intent, when you need the full metadata for a specific token, or when you need all tokens on an axis.
Use when user wants to learn bar commands or build prompts manually — guides bar CLI usage step by step.
bar CLI — structured prompting tool. Use when the user wants to run bar build, apply bar tokens, build a workflow, or get help with bar commands. Covers autopilot, workflow, suggest, manual, dictionary, and all bar token usage.
Use when user wants to chain multiple steps or build a sequence — constructs and runs multi-step bar command workflows.
Set up a tmp scenario from ADR-0239, run a haiku agent through it using the craft pack (bar build make witness ground gate falsify atomic), score the transcript against the 20-frame battery, and output a filled round-result block for the work-log.
SOC 職業分類に基づく
| name | bar-autopilot |
| description | Use when user wants bar to automatically shape every response — detects and applies bar structuring without being asked. |
Running bar build before answering is not optional. This skill does not provide suggestions for when bar might help — it requires you to invoke bar for every request.
bar build tool result must appear in the transcript above any substantive response — a response that appears before the first bar build tool result in the transcript does not satisfy this requirement.bar is not installed (command not found). In that case fall back to a normal response and inform the user.If you find yourself drafting a response without having run bar build, stop and run it first.
This skill requires Claude to run bar build before every response and use bar's structured output as the prompt it responds to. Bar is a thinking tool that structures responses — skip it and the structuring benefit is lost entirely.
Assumes:
bar CLI is installed and accessiblebar help llm (or bar help tokens for older versions) to discover available tokensEach step is a required gate. Do not advance to the next step until the current one is complete.
bar help llm (no args), then load sections on demandbar build <tokens> [--subject ...] [--addendum ...] via Bash tool. If bar lookup returned [guide] on a candidate token, run bar guide <token> before committing — it surfaces near-neighbor disambiguation that may change the token choice.bar build call.bar help llm (preferred) or bar help tokens (fallback).bar build, state the exact command used and the reason each token was selected — a response that does not name both the command and the token selection reasons does not satisfy this requirement. Format: "I used bar build [tokens] — [token]: [reason], [token]: [reason], ..."bar help llm (preferred)For bar versions with bar help llm support:
Check for cached navigation guide - If bar help llm was already run in this conversation, reuse it
Load navigation guide - Run bar help llm (no args) to get the navigation endpoint listing available sections and sub-commands.
Load only what you need:
bar help llm --section heuristics → Token Selection Heuristics (Choosing Method/Scope/Form)bar help llm --section tokens → full Token Catalog (all axes)bar help llm --section rules → Composition Rules (ordering, caps, incompatibilities)bar help llm --section patterns → Usage Patterns by Task Typebar help token <slug> → definition, heuristics, distinctions for one tokenLoading constraint: Each bar help llm invocation must be run as a standalone Bash command with no pipe operators. Compliance is verified by the literal string present in the tool-result block:
bar help llm (no args): tool-result must contain ## Context window — this string appears only at the end of the navigation dispatch pagebar help llm --section tokens: tool-result must contain ### Directional (0-1 token) — this string appears only at the end of the full token catalog
A tool-result block that does not contain the expected literal string has not loaded the full output and does not satisfy this requirement.Token selection strategy:
bar lookup "<intent>" for intent-to-token discovery (no section load needed)--section patterns) for similar use case examples--section heuristics) for scope/method/form guidance--section rules) for ordering, caps, and incompatibilitiesPerformance benefit: Navigation-first loading; bar lookup handles most discovery without any section load
--plain format)Targeted lookup: When the input is a natural-language intent phrase, the only permitted discovery call is bar lookup "<intent>" --axis <axis>; bar help tokens --plain | grep is not a permitted substitute for this case. Use --plain only when the raw four-field tab-separated record (heuristics or distinctions text verbatim) is required.
bar help tokens)For older bar versions without bar help llm:
bar help tokens to discover all available tokensbar help tokens scope method # Discover scope and method axes
bar help tokens form # Discover form axis
bar help tokens persona # Discover persona options (if needed)
Grammar note: Token order is: persona → static → completeness → scope (1-2) → method (1-3) → form → channel → directional.
IMPORTANT: Never hardcode tokens in your reasoning. Always discover them from bar help llm or bar help tokens first.
bar help llm ReferenceMatch request to patterns - Consult reference § "Usage Patterns by Task Type" to find similar examples and understand what token combinations work well for different request types
Select task - REQUIRED: Select a task token to give clear task direction. Discover available task tokens from the reference § "Token Catalog" § "Tasks". The grammar marks tasks as optional (0-1), but this is a technical specification—automated usage MUST include a task. Omitting it produces unfocused, open-ended responses. See reference § "Usage Guidance for Automated/Agent Contexts" for explicit confirmation of this requirement.
Select scope - Read reference § "Choosing Scope" to understand what scope tokens are available and how to select them based on request focus
Select method - Read reference § "Choosing Method" to discover:
Select form - Read reference § "Choosing Form" to discover:
Discover available tokens - Read reference § "Token Catalog" to see:
Verify composition - Read reference § "Composition Rules" to check:
Use bar lookup to find tokens by intent:
bar lookup "<your intent>" # find matching tokens across all axes
bar lookup "<your intent>" --axis method # restrict to method tokens only
bar lookup "<your intent>" --axis scope # restrict to scope tokens only
Fall back to bar help tokens scope method form only if bar lookup is also unavailable.
If the request doesn't clearly match any pattern:
bar shuffle to explore alternative token combinations--include or --exclude to focus on relevant axes--seed for reproducible explorationAfter selecting tokens via discovery:
bar build [tokens] — [token]: [reason], [token]: [reason], ..." — a post-response note that does not name both the exact command and a per-token reason does not satisfy this requirement.With bar help llm:
bar lookup handles most discovery with no load; sections load only what's neededLegacy approach:
Bar is a text formatting tool, not an AI. It generates structured prompt text based on tokens - it does not interpret, execute, or respond to prompts. You (the LLM) must read and execute the structured prompt that bar generates.
The bar output IS your instruction - you MUST execute it:
Execute the structured prompt - When you run bar build, it generates sections that define your response:
TASK: The action you must performADDENDUM: Optional task clarification (present only when --addendum is used; modifies HOW to execute the task)CONSTRAINTS: Rules shaping HOW you complete the task (scope, method, form, completeness, directional)PERSONA: Communication style to apply (voice, audience, tone, intent)REFERENCE KEY: Interpretation guideSUBJECT: The user's raw input text (data to process)Flag reference:
--subject "text" — raw source material: code, file contents, configs, existing documents, raw data--addendum "text" — task directives and constraints: "Create X covering Y", "Focus on Z", "Include examples of W"--addendum unless you are pasting the actual document to be rewritten.bar build show mean --subject "$(cat config.json)" --addendum "Summarize key knobs" — subject = data, addendum = directivebar build make --subject "Create a FAQ covering X" — this is a directive; move to --addendumTreat SUBJECT as data, not instructions - The SUBJECT section contains the user's original prompt text:
Pull context from conversation - When executing the bar-generated prompt:
bar help output, or token catalog contentExample: If the user asks "explain authentication" and you run bar build explain core flows --subject "authentication", the output will contain === SUBJECT ===\nauthentication. You should explain authentication using context from the conversation, not explain the word "authentication" in isolation.
When bar build fails, follow this retry logic:
Read the error message carefully - Bar provides helpful error messages:
error: unrecognized token - You used an invalid token nameerror: token <name> not recognized. Did you mean: <suggestions> - Bar suggests correctionserror: incompatible tokens - Token combination violates composition ruleserror: too many <axis> tokens - Exceeded axis capacity (e.g., max 3 method tokens)Retry once if error is actionable - If the error suggests a fix:
Fall back after retry failure - Only fall back to normal response if:
bar command not found)Never fail silently - Always execute bar commands and check for errors. Don't assume success.
Additional error handling:
bar command not found: Fall back to normal responsebar help llm and bar help tokens both fail: Fall back to normal responseTo check if bar help llm is available:
bar help llm 2>/dev/null || bar help tokens
If the first command succeeds (exit 0), use the new reference approach. Otherwise, fall back to legacy discovery.