Логотип Writing For Agents

Writing For Agents

Спільнота
timharris707
writing-for-agents

Write and prune documents an agent consumes: a SKILL.md, an AGENTS.md or CLAUDE.md, a rules file, a reference file reached by a pointer. Use when authoring or revising a skill, editing standing agent instructions or recording a decision as a rule agents will follow (a CLAUDE.md, AGENTS.md, CODE-RULES, or conduct-rules entry), or diagnosing why a document fires unreliably or gets skimmed.

Огляд

Видавецьtimharris707
Репозиторійskills
Назва навичкиwriting-for-agents
Зірки
45
Форки
7
Файли в пакеті
3
ЛіцензіяMIT
Посилання
  • Інструкції у форматі Markdown

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

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

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

  • Файлів у комплекті: 3

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

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

    Видавець на GitHub: timharris707. Перед установленням перегляньте вихідні файли навички.

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

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

1

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Writing for Agents

Every document an agent reads is a behavior lever, not prose. The packaging differs across a skill, a standing instruction file, and a reference reached by a pointer, but the writing does not: the same levers make each one predictable. Predictable means the agent takes the same process every run. It does not mean the agent produces the same output.

This skill is reference, not a sequence: consult the rung that matches what you're writing. For frontmatter, invocation modes, a step that must load another skill, and this repo's catalog invariants, read references/skill-mechanics.md. When the reader is a human, as on a landing page, a README's front half, or a launch post, these levers read cold; use writing-for-humans instead.

Context pointers

An agent often holds a short line that points at material it has not loaded: a skill's description, or a line in AGENTS.md naming a doc. That line is a context pointer: a reference the agent already holds that names material it does not, plus the condition for going and getting it.

The pointer's wording, not its target, decides whether the agent reaches the material. A must-have target behind a weakly worded pointer is a variance bug: the material is right and the firing is a coin flip. Sharpen the wording first; inline the material only when sharpening has already failed.

A pointer does two jobs: say what the material is, and name the branches that should trigger reaching it. A branch is a distinct case the document handles: different runs take different paths through it. Because an always-loaded pointer costs on every turn, it earns harder pruning than the body:

  • Front-load the trigger. The pointer's opening words are where it does its work.
  • One trigger per branch. Synonyms that rename a single branch are one branch written twice.
  • Cut identity the body already carries. The pointer says when to come, not who you are.

The two budgets

Every document and every pointer spends one of two budgets:

  • Context load. Always-loaded material occupying the window: a skill description, an AGENTS.md line, anything present every turn whether or not it fires. Paid in tokens and in attention.
  • Cognitive load. The cost on the human: knowing which documents exist and when to reach for each. The human is the index.

Cognitive load is not a cost to minimize. It is the price of human agency: spend it where human judgment matters, remove it where it does not. Material behind a pointer escapes context load at the price of the pointer's own line; material with no pointer rides entirely on cognitive load.

The information hierarchy

A document mixes two content types: steps (ordered actions the agent performs) and reference (definitions, rules, and facts consulted on demand). A document may be all steps, all reference, or both. The decision that matters is where each piece sits on a ladder ranked by how immediately the agent needs it:

  1. In-file step. The primary tier: what the agent does, in order.
  2. In-file reference. Consulted on demand. Often a legitimately flat peer-set (every rule of a review on one rung). That is an arrangement, not a smell.
  3. Disclosed reference. Pushed into a separate file behind a pointer, loaded only when the pointer fires. Ranges from a sibling in references/ to material any document can point at.

Push too little down and the top bloats; push too much and you hide what the agent actually needs. That tension is the whole decision.

Progressive disclosure is the move down the ladder. It is not primarily a token optimization. It is how the top stays legible. The cleanest test is branching: inline what every branch needs, disclose what only some branches reach. When a document has steps, undisclosed in-file reference buries them, and attending to them becomes a coin flip.

Co-location is the within-file companion. The ladder decides how far down a piece sits; co-location decides what sits beside it once there. Keep a concept's definition, rules, and caveats under one heading so reading one part brings its neighbors along. Scattering fragments one meaning across many places; duplication, a distinct failure, repeats one meaning in two.

Sprawl is the failure mode: a document simply too long, even when every line is live and unique. Attention thins across the excess. The cure is the ladder: disclose reference behind pointers, and split by branch or sequence so each path carries only what it needs.

Completion criteria

Every step ends on a completion criterion, the condition telling the agent the work is done. Two properties make it a lever:

  • Clarity. Can the agent tell done from not-done? A vague bound ("understanding reached") invites premature completion: ending early as attention slips toward being done. Visible later steps supply the pull; the criterion's clarity is the resistance. Sharpen the bound first; it is local and cheap. Only when a bound is irreducibly fuzzy and you observe the rush should you hide later steps by splitting the sequence, and hiding works only across a real context boundary (a handoff, a subagent dispatch). An inline call leaves the later steps in context and clears nothing.
  • Demand. How much the criterion requires. "Every modified model accounted for" forces thorough work where "produce a change list" does not. Demand drives the digging the agent does inside the work, and it is not step-bound: "every rule applied" binds a body of flat reference exactly as "every step done" binds a sequence. That is how an all-reference document still carries an exhaustiveness bar.

The strongest criteria are both checkable and exhaustive. In this catalog they surface as the ## Done when (checkable) section every task-shaped skill carries; a skill with no discrete run to complete (a menu, a standing role) is exempt, and the exemption is a deliberate call, not an omission.

When to split

Splitting one document into two spends one of the two budgets, so split only when the cut earns it:

  • By sequence. Hide later steps whose visibility tempts the agent to rush the one in front of it, only under the completion-criteria conditions above. Beware the reverse: merging sequences exposes each step to what follows it, inviting premature completion.
  • By invocation. Skill-specific: when different triggers should reach different material, each invocation path becomes its own skill. The mechanics live in references/skill-mechanics.md.

Leading words

A leading word is a compact concept already living in the model's pretraining that the agent thinks with while running the document: frontier, fog, tracer bullet, lane. Repeated as a token and never as a sentence, it accumulates a distributed definition and anchors a whole region of behavior in the fewest tokens, by recruiting priors the model already holds.

It anchors twice. In the body it anchors execution: the agent reaches for the same behavior every time the word appears. In a pointer it anchors invocation: when the same word lives in your prompts, your docs, and your codebase, the agent links that shared language to the material and reaches it more reliably.

Coining your own works if you define it clearly, but a made-up word recruits no priors: you pay in definition tokens what a pretrained word gives free. Reach for an existing word first. Hunt for passages begging to collapse into one token: "fast, deterministic, low-overhead" becomes tight; "a loop you believe in" becomes red, turning a fuzzy gate into a binary observable state.

Negation is the failure mode beside this lever. Steering by prohibition drags the forbidden behavior into context and makes it more available. The ban half-reads as an instruction to do the thing, because a negation is a weak modifier that the strongly-activated concept overruns. Prompt the positive: state the target behavior so the banned one is never spoken. A prohibition earns its place only as a hard guardrail you cannot phrase positively, and even then it pairs with the positive target.

Punctuation

The em dash never appears in skill prose: it is a top AI tell, and the prose an agent reads leaks into the prose it writes (plainspoken's tell catalog, pattern 13). Separate thoughts with periods, commas, and colons instead.

Pruning

  • Single source of truth. Keep each meaning in exactly one authoritative place, so changing the behavior is a one-place edit. Duplication costs maintenance and tokens, and inflates a meaning's rank on the ladder past its real one. It is the accidental inverse of a leading word, which repeats a token on purpose and never the meaning.
  • The environment is a source of truth too. package.json scripts, config files, directory layout, --help output. A document restating it is a cache, and a cache earns its load only when the lookup is expensive. Cache what the agent cannot find by looking: the unwritten convention, the reason behind a choice, the gotcha no config confesses. Leave one-command lookups to the environment, where they cannot go stale.
  • Relevance. A line loses it by never bearing on the task (exposition, or a branch that should be disclosed) or by going stale as the world it describes changes. Without a pruning discipline the default fate is sediment: stale layers that settle because adding feels safe and removing feels risky.
  • No-ops. An instruction the model already obeys by default pays load to say nothing. The test is whether the line changes behavior versus the default, and it is model-relative, not reader-relative. Two people disagreeing about a no-op disagree about the default, and settle it by running the document, not by debating. When a sentence fails, delete the whole sentence rather than trimming words from it. The test also grades leading words: a word too weak to beat the default (be thorough, when the agent is already thorough-ish) is a no-op, and the fix is a stronger word (relentless), not a different technique.

Done when (checkable: verify each line before reporting complete)

  • Every pointer names its branches, front-loads its trigger, and carries no identity the body repeats.
  • Every piece of content sits on a deliberate rung: inlined because every branch needs it, or disclosed because only some branches reach it.
  • Every step ends on a criterion you can evaluate as done or not-done, and the document carries an exhaustiveness bar.
  • No meaning appears in two places, and nothing restates a lookup the environment answers in one command.
  • Every prohibition either states a positive target beside it or is a hard guardrail that cannot be phrased positively.
  • No em dash appears outside a code block or inline code span.
  • The no-op test has been run sentence by sentence, and what failed was deleted rather than trimmed.

Attribution

This skill is a lightly edited adaptation of Matt Pocock's writing-for-agents (MIT). Not just the vocabulary but the body: context pointers, the two budgets, the information hierarchy, completion criteria, when to split, leading words, and pruning follow his text section by section, much of it near-verbatim. What this repo adds: the checkable Done-when list, the punctuation rule, and the mechanics reference with its catalog invariants. The reference's rule for loading another skill follows his repo's invocation convention (MIT): "call the Skill tool" is his phrasing, as are one skill per call and the user-invoked exception.

Файли в пакеті

Модель читає ці файли за потреби, поки навичку завантажено. Вони доступні для читання й ніколи не виконуються.

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

Що робить навичка ШІ Writing For Agents?

Write and prune documents an agent consumes: a SKILL.md, an AGENTS.md or CLAUDE.md, a rules file, a reference file reached by a pointer. Use when authoring or revising a skill, editing standing agent instructions or recording a decision as a rule agents will follow (a CLAUDE.md, AGENTS.md, CODE-RULES, or conduct-rules entry), or diagnosing why a document fires unreliably or gets skimmed.

Навіщо використовувати Writing For Agents у TypingMind?

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

Як встановити Writing For Agents у TypingMind?

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

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

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

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

Зі скількома забажаєте. У TypingMind ви можете використовувати Writing For Agents із будь-якою моделлю, яка підтримує навички, зокрема з GPT, Claude, Gemini, Grok, DeepSeek, Mistral чи Llama. Для цього ви використовуєте власні ключі API.

Чи безкоштовна навичка ШІ Writing For Agents?

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

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

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

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

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

Усі

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

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