Логотип Fable Setup

Fable Setup

Спільнота
Junhan2
fable-setup

Optional, recommended once. The plugin works with no setup (hook delivery, auto-detected mode, subagents covered). Use /fable-setup to move the base rules into a rules file (the recommended delivery, also the one for agent teams) or a CLAUDE.md section, pin interactive/unattended mode, see where effort comes from, or audit CLAUDE.md for conflicting rules. To see what is in effect, use /fable-status instead. Triggers: "/fable-setup", "fable 세팅", "환경 점검", "무인 모드로", "apply the Fable guide", "set up for Fable 5.1", "set up for Opus 5.5", "unattended mode", "rules file".

Огляд

ВидавецьJunhan2
Репозиторійoh-my-fable
Назва навичкиfable-setup
Зірки
57
Форки
7
Файли в пакеті
Лише інструкції
ЛіцензіяMIT
Посилання
  • Інструкції у форматі Markdown

    Файл SKILL.md, який модель завантажує за потреби, тож токени витрачаються лише тоді, коли запит справді відповідає навичці.

  • Працює з будь-якою LLM

    Навички ШІ — це звичайний Markdown, а не код для певного постачальника, тому вони працюють із GPT, Claude, Gemini, Grok або локальною моделлю.

  • Усе необхідне — в інструкціях

    Усе потрібне моделі міститься в інструкціях — жодних додаткових файлів для синхронізації.

  • Відкритий вихідний код

    Опубліковано на GitHub користувачем Junhan2. Перегляньте вихідний вміст перед установленням.

Встановлення

Установіть навичку ШІ Fable Setup у TypingMind, щоб використовувати її з будь-якою LLM, або додайте її до іншого агента, що читає SKILL.md.

1

Встановити в TypingMind

TypingMind встановлює навичку безпосередньо з її папки GitHub — читає SKILL.md, збирає файли ресурсів у пакет і зберігає результат локально.

  1. Відкрийте застосунок і перейдіть до Плагіни → Навички.
  2. Виберіть «Встановити з GitHub».
  3. Вставте наведений нижче URL папки навички та підтвердьте встановлення.
    https://github.com/Junhan2/oh-my-fable/tree/main/skills/fable-setup
  4. Увімкніть навичку в кожному чаті, де хочете її використовувати.
Плагіни → Навички → Нова навичка → За URL GitHub, потім вставте URL папки й натисніть «Продовжити».
2

Встановити в іншому агенті

Будь-який агент, що підтримує формат Agent Skills, може використовувати цю навичку — скопіюйте папку до каталогу навичок цього агента.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/Junhan2/oh-my-fable.git /tmp/oh-my-fable
mkdir -p .claude/skills
cp -r /tmp/oh-my-fable/skills/fable-setup .claude/skills/fable-setup
Після копіювання перезапустіть Claude Code, щоб завантажити нову навичку.

Використовуйте навичку в TypingMind

Увімкніть навичку Fable Setup в будь-якому чаті TypingMind, і далі модель усе зробить сама. Назва й опис навички містяться в системному промпті, а щойно надходить відповідний запит, модель самостійно завантажує повні інструкції — вам не потрібно викликати навичку вручну, і до фактичного використання вона не витрачає токенів.

Модель самостійно завантажує навичку Fable Setup, щойно надходить відповідний запит.

Працює з будь-якою моделлю ШІ

Навички ШІ — це звичайні інструкції Markdown, а не код для певного постачальника, тому навичка Fable Setup не прив’язана до моделі, для якої її створено. Установіть її один раз у TypingMind і використовуйте з GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama або локальною моделлю, яку ви запускаєте самостійно, — усе з вашими власними ключами API.

  • Завантажується лише за потреби

    Системний промпт містить лише назву й опис. Інструкції завантажуються за першого відповідного запиту, тож невикористана навичка нічого не коштує.

  • Змінюйте моделі під час чату

    Оскільки навичка — це інструкції, а не код, зміна моделі не порушує її роботу: наступна модель читає той самий файл SKILL.md.

Інструкції навички

Це вміст файлу SKILL.md, який завантажує модель. Прочитайте його перед установленням — навичка містить інструкції, яких дотримуватиметься ваша модель.

fable-setup · choose delivery and mode, see where effort comes from; audit conflicts

Blocks: ${CLAUDE_PLUGIN_ROOT}/hooks/always-on.md (+ autonomy-unattended.md, two paragraphs, for unattended mode; and effort-high.md, block N, when the session starts at xhigh or max). Guide reference: ${CLAUDE_PLUGIN_ROOT}/skills/fable/references/prompt-blocks.md.

Three layers: per request → /fable; always-on rules → hook by default, this skill can move them to a file; settings → mode, where effort comes from, and an admin checklist. Nothing here is required: the defaults work without any file.

Arguments (skip the matching question)

auto (no questions, keep defaults) · hook (= hook only, the default) | rules-file (rules file + hook, recommended) | claude-md (delivery; hook-only is accepted as an alias of hook) · auto | interactive | unattended (mode) · medium | high (prints the /effort line for that level; this skill no longer writes effortLevel, see Step 3) · refresh (re-copy the rules file only, no questions, see Step 7) · remove (undo everything, see Step 6). To see what is in effect without changing anything, use /fable-status.

Step 1 · Detect (one batch of reads, silent)

./CLAUDE.md, ./.claude/CLAUDE.md, ~/.claude/CLAUDE.md, ~/.claude/settings.json, ./.claude/settings.json, ~/.claude/oh-my-fable.json, ./.claude/oh-my-fable.json, ~/.claude/rules/, ./.claude/rules/, claude --version, and the environment variable CLAUDE_CODE_EFFORT_LEVEL.

Step 2 · Questions: one AskUserQuestion call with up to two questions

Bundle questions 1 and 2 into a single AskUserQuestion call (it supports several questions at once), each with one-line options and the recommended one marked. No preamble, no explanation paragraphs. The goal is zero manual steps for the user, so prefer asking over leaving something for them to do by hand.

  1. Where should the rules live?
    • Rules file + hook (recommended) · base rules in ~/.claude/rules/oh-my-fable.md (auto-loaded; per the docs agent teammates load it, the hook does not reach them in a verified way); the hook adds only what depends on the session (the unattended paragraphs, block N at xhigh/max) and the short version for Explore/Plan subagents. Claude Code's hooks doc says to prefer CLAUDE.md-style files for instructions that never change, and that hook text framed as system commands can trigger prompt-injection defenses
    • Hook only (zero-setup default) · nothing written; the hook carries everything for the main session and sends the short version to every subagent. Always current after a plugin update, nothing to clean up on uninstall
    • CLAUDE.md section · inside your CLAUDE.md, static, needs edit approval (not in auto mode)
  2. How do you mostly work?
    • Auto (recommended) · detects per session: unattended for headless/SDK/agent runs, interactive in the terminal or IDE
    • Interactive · always as if you watch and steer
    • Unattended · always adds the two unattended paragraphs ("the user is not watching" and the early-stop list), even in the terminal

Effort is not a question. Show this one line with the questions, in the user's language: "Effort is not written by this skill. Opus 5.5 and Sonnet 5.5 start at medium (their Claude Code default), Fable 5.1 and the other models at high. To save a level for the model you are on: /effort then Enter (saved per model in modelSettings); s applies it to this session only."

Ask afterwards, only when relevant, one more call: 4. Scope? (only when the current directory is a git repo with its own CLAUDE.md)

  • All projects (recommended) · global files under ~/.claude
  • This project only · files under ./.claude
  1. Fix the conflicting rules for you? (only when Step 4 finds conflicts; ask after showing the table)
    • Yes, apply the suggested edits · edits CLAUDE.md, needs approval outside auto mode
    • No, just show me · you edit by hand

Ask in the user's language.

Step 3 · Apply

Config (always, global ~/.claude/oh-my-fable.json or project ./.claude/oh-my-fable.json):

json
{"enabled": true, "mode": "auto", "delivery": "hook"}

If the write is refused, print the JSON and path; defaults apply without a file.

Rules text = always-on.md, with autonomy-unattended.md inserted after the heading when unattended. English regardless of the user's language. The rules file carries the base rules only; the unattended paragraphs are always added by the hook per session, so auto mode works with the default delivery. Only the CLAUDE.md section is static.

  • hook (hook only, default): write nothing besides the config; make sure no rules/oh-my-fable.md with the marker is left behind (delete one written earlier by this skill; never touch a file without the marker). Main session and every subagent get the rules from the hook.
  • rules-file (rules file + hook): copy ${CLAUDE_PLUGIN_ROOT}/hooks/rules-file.md verbatim to ~/.claude/rules/oh-my-fable.md (project scope: ./.claude/rules/oh-my-fable.md). It starts with the marker <!-- oh-my-fable:rules v3 which tells the hook to add only the unattended paragraphs per session. Claude Code loads rules/*.md for the main session and for subagents and teams, so CLAUDE.md is not edited. Keep "delivery": "hook" in the config. If the write is refused (auto permission mode may block instruction files), say so in one line: the hook then carries everything for the main session, and the user can create the file by hand from the shown path. When the plugin ships a newer file, the hook says so at session start; /fable-setup refresh updates the copy.
  • claude-md: insert the section between <!-- oh-my-fable:start v3 --> and <!-- oh-my-fable:end -->, or replace an existing one that starts with <!-- oh-my-fable:start v (any version), in the chosen CLAUDE.md with the Edit tool; touch nothing else. Set "delivery": "claude-md". If refused, do not retry with another tool: say it needs a session outside auto mode, keep hook, and show the section for manual paste.

Effort: write nothing. If the user passed medium or high, print exactly this, translated: "Run /effort and press Enter to save it for the model you are on (s = this session only). A top-level effortLevel in ~/.claude/settings.json is ignored by Opus 5.5 and Sonnet 5.5, which is why this skill no longer writes it." If the env var CLAUDE_CODE_EFFORT_LEVEL is set, say in one line that it beats every saved level.

Copies are snapshots. A rules file or CLAUDE.md section is the text at install time. The rules file carries a version marker (oh-my-fable:rules vN); when the plugin ships a newer one, the hook shows a one-line notice at session start and /fable-setup refresh updates the copy. The hook delivery always uses the current text. Never replace a copy with an older one: if its marker carries a higher version than the one this skill would write, this session runs an older copy of the plugin, so leave the copy, say so, and tell the user to start a new session (after updating the plugin, if it is not updated yet).

Step 4 · Audit (one table, then question 5)

Rule found → verdict → one-line suggestion. Edit CLAUDE.md only if the user chose "Yes" in question 5; if the edit is refused, show the exact replacement text once and move on. Conflicts to flag: narration suppression ("hold findings for the final response", "no closing recap"), anti-formatting rules ("no bullets", "no headers"), "ask before every step". Same-meaning rules → "already covered".

Step 5 · Verify and close

Hook: run bash "${CLAUDE_PLUGIN_ROOT}/hooks/session-start.sh" with CLAUDE_PROJECT_DIR set and confirm the last line starts with (oh-my-fable and names the expected rules source (--status prints the same as a key list). Rules file + hook: confirm the file exists with the marker and the hook prints only the mode line (or the unattended paragraphs, or block N when the session is at xhigh/max). CLAUDE.md: confirm the markers appear exactly once and the hook prints nothing. Then close with exactly this, translated:

Done. Rules: , mode: , effort: <effort and effort_source from --status>. They apply automatically from the next Claude Code session. To use them in this session right now: if the plugin was installed in this session, type /reload-plugins first, then /clear (one per line; the rules are injected on session start, /clear, and compaction). Ask as usual; for short or vague requests use /fable <request>. Add "just the prompt" to preview only.

One status line: DONE, DONE_WITH_CONCERNS, or NEEDS_CONTEXT.

Step 6 · /fable-setup remove

Undo everything this skill may have written, then tell the user to run claude plugin uninstall oh-my-fable@oh-my-fable:

  • delete ~/.claude/oh-my-fable.json and ./.claude/oh-my-fable.json
  • delete ~/.claude/rules/oh-my-fable.md and ./.claude/rules/oh-my-fable.md
  • remove the <!-- oh-my-fable:start … <!-- oh-my-fable:end --> section (and its heading line) from any CLAUDE.md
  • effort levels in settings.json (saved by /effort, or an effortLevel written by an older version of this skill) are left as is; say so in one line

Step 7 · /fable-setup refresh

No questions. Find the rules file the hook uses (./.claude/rules/oh-my-fable.md, else ~/.claude/rules/oh-my-fable.md or the one under CLAUDE_CONFIG_DIR). If it carries the marker oh-my-fable:rules, overwrite it with ${CLAUDE_PLUGIN_ROOT}/hooks/rules-file.md verbatim and report the old and new version numbers (for example v1 → v2), unless its version is higher than that file's: then leave it, say this session runs an older copy of the plugin, tell the user to start a new session (after updating the plugin, if it is not updated yet), and stop. If it has no marker it is the user's own file: do not touch it, say so, and stop. If there is no file, say that nothing needs refreshing (hook-only delivery is always current).

Поширені запитання

Що робить навичка ШІ Fable Setup?

Optional, recommended once. The plugin works with no setup (hook delivery, auto-detected mode, subagents covered). Use /fable-setup to move the base rules into a rules file (the recommended delivery, also the one for agent teams) or a CLAUDE.md section, pin interactive/unattended mode, see where effort comes from, or audit CLAUDE.md for conflicting rules. To see what is in effect, use /fable-status instead. Triggers: "/fable-setup", "fable 세팅", "환경 점검", "무인 모드로", "apply the Fable guide", "set up for Fable 5.1", "set up for Opus 5.5", "unattended mode", "rules file".

Навіщо використовувати Fable Setup у TypingMind?

Тому що ви встановлюєте її один раз і використовуєте з будь-якою моделлю. Fable Setup — це звичайний Markdown, а не код для конкретного постачальника, тому та сама навичка працює з GPT-5, Claude, Gemini, Grok або локальною моделлю. Ви можете змінити модель навіть посеред чату, і навичка продовжить працювати. TypingMind використовує ваші власні ключі API, тож ви платите безпосередньо постачальникам замість передплати за кожне місце користувача, а ваші навички й чати залишаються у вашому сховищі.

Як встановити Fable Setup у TypingMind?

Відкрийте в TypingMind Плагіни → Навички → Встановити з GitHub і вставте https://github.com/Junhan2/oh-my-fable/tree/main/skills/fable-setup. TypingMind прочитає файл SKILL.md і встановить навичку, яку можна вмикати окремо для кожного чату.

Які моделі ШІ можуть використовувати Fable Setup?

Будь-яка модель, яку ви підключите в TypingMind. Навички ШІ — це звичайні інструкції у форматі Markdown, а не код для конкретного постачальника, тому GPT, Claude, Gemini, Grok і локальні моделі можуть завантажувати цю навичку, коли запит їй відповідає.

Зі скількома моделями ШІ можна використовувати Fable Setup?

Зі скількома забажаєте. Якщо модель підтримує навички, ви можете використовувати з нею Fable Setup — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama та інші — усе в TypingMind із власними ключами API.

Чи безкоштовна навичка ШІ Fable Setup?

Так. Навичку опубліковано на GitHub: Junhan2, за ліцензією MIT. Ви платите лише своєму постачальнику ШІ за використані токени.

Що таке навички ШІ?

Навичка ШІ — це багаторазовий набір інструкцій, який навчає модель ШІ виконувати одне конкретне завдання. Він відповідає відкритому формату Agent Skills: файл SKILL.md із назвою та описом, а також скрипти, шаблони чи довідкові файли, які можуть знадобитися моделі. Модель читає інструкції лише тоді, коли ваш запит відповідає навичці, тому встановлена навичка нічого не коштує, доки її не використано.

Чим навички ШІ відрізняються від плагінів або серверів MCP?

Плагін або сервер MCP надає моделі нові інструменти для виклику — код, який десь виконується й повертає результат. Натомість навичка ШІ надає моделі знання та порядок дій: як підійти до завдання, яких кроків дотримуватися та яким має бути якісний результат. Навички — це звичайний Markdown, тож їм не потрібні ні сервер, ні ключ API, ні середовище виконання, і вони працюють із будь-якою моделлю.

Усі

Створіть власний ШІ-простір уже зараз

Підпишіться на нашу розсилку, щоб дізнаватися про нові функції та майбутні розіграші 👇