writing-skills

writing-skills is a skill for Claude Code, Codex from yinqd3/workbuddy-skills. It costs 50 tokens per session (800 once invoked), scanned A, original, MIT.

A repair process for fixing common formatting mistakes in the inputs an AI sends to software tools, after schema validation reports a problem. A schema is the set of rules describing valid input data.

In plain words
What is it for?
Repairing null optional fields, JSON arrays sent as strings, Markdown links where plain values are expected, and related fields with missing defaults.
Why use it?
It handles recoverable input errors without changing the AI model, while returning a retry message when the input still cannot be fixed.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Repairing null optional fields, JSON arrays sent as strings, Markdown links where plain values are expected, and related fields with missing defaults.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/yinqd3/workbuddy-skills/writing-skills
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add yinqd3/workbuddy-skills --skill writing-skills
Clone the repo
git clone --depth 1 https://github.com/yinqd3/workbuddy-skills

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for writing-skills

README.md
[![agentmods](https://agentmods.dev/badge/skills/yinqd3/workbuddy-skills/writing-skills/github.svg)](https://agentmods.dev/skills/yinqd3/workbuddy-skills/writing-skills)
Your own site
<a href="https://agentmods.dev/skills/yinqd3/workbuddy-skills/writing-skills"><img src="https://agentmods.dev/badge/skills/yinqd3/workbuddy-skills/writing-skills/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for writing-skills

Your own site · 80×15
<a href="https://agentmods.dev/skills/yinqd3/workbuddy-skills/writing-skills"><img src="https://agentmods.dev/badge/skills/yinqd3/workbuddy-skills/writing-skills.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 50 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 800 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00050 $0.00800
Opus 5 $0.00025 $0.00400
Sonnet 5 $0.00010 $0.00160
Haiku 4.5 $0.00005 $0.00080

Measured 12d ago against content hash c21130e1fa3d, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

writing-skills scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 12d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

superpowers/writing-skills/SKILL.md · 107 lines

What it actually says

编写 WorkBuddy Skill(元技能)

概述

Skill 封装了特定工作流——它不是文档,是塑造 AI 行为的代码

Skill 的结构

skill-name/
├── SKILL.md          # 主文件(必需)
└── references/       # 参考资料(可选)
    ├── guide-1.md
    └── guide-2.md

SKILL.md 模板

---
name: skill-name
description: 用途+触发条件+触发词
agent_created: true
---

# Skill 标题

## 概述
[一段话说明这个 skill 做什么]

## 何时使用
- 触发条件 1
- 触发条件 2
- 触发词: xxx、yyy、zzz

## 核心铁律/硬门禁
[如果有不可违反的规则,放这里]

## 步骤/检查清单
1. **步骤 1** — 具体做什么
2. **步骤 2** — 具体做什么
...

## 工作流/流程图
[复杂流程可用文本流程图]

## 关键原则
- 原则 1
- 原则 2

## 反模式/红灯
[常见的错误做法,列出来警示]

Skill 设计原则

1. 清晰触发条件

描述什么时候该用这个 Skill,什么时候不该用。触发词要覆盖中英双语。

2. 强制流程

用 "MUST"、"强制"、"Hard Gate" 标记不可跳过的步骤。

3. 具体可执行

不是说"做代码审查",而是:

  • 运行 pytest -q
  • 检查 git diff
  • 派发审查子代理(附带完整提示模板)
  • 按严重程度分类问题

4. 处理边界情况

  • 出错了怎么办?
  • 不通过怎么办?
  • 用户想跳过怎么办?(说明后果)

5. 给出示例

好的示例和差的示例对比,比纯文字更有效。

6. 保持精简

Skill 不是手册——只放 AI 每次执行时需要遵循的关键规则。

7. 中英双语

触发词和关键描述中英双语,覆盖不同表达习惯。

测试 Skill

写完 Skill 后:

  1. 用真实场景触发测试
  2. 观察 AI 的行为是否符合预期
  3. 收集反例——什么时候 Skill 没触发或触发错了
  4. 迭代调优

常见错误

错误 正确做法
描述太模糊("做好代码审查") 给出具体检查清单和命令
触发条件太宽泛(匹配到不该匹配的任务) 收紧触发词,加排除条件
步骤太复杂(AI 执行效率低) 精简到最小必要步骤
没有错误处理 加"如果失败/不通过怎么办"
纯英文(中文用户触发不了) 加中文触发词和描述
Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 12d ago First seen · 107 lines · 50 tokens per session scan A c21130e1fa3d

Subscribe to this mod's changes

writing-skills is a skill published in the GitHub repository yinqd3/workbuddy-skills (6 stars, last pushed 3mo ago), licensed MIT. It adds 50 tokens to every session and 800 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

results-report

A workflow for turning completed experiment analyses into a structured research report with findings, limitations, failures, and next steps.

Galaxy-Dawn/claude-scholar · 78 tokens

math-unicode

Use whenever you need to express mathematical notation — equations, filters, set-builder, statistics, calculus, logic, ratios, drops, counts. Emit Unicode math glyphs INLINE; never wrap in $…$, \(...\), or $$...$$. Terminal coding agents (Claude Code, Codex CLI, and others) do not render LaTeX, so raw delimiters…

JustMichael-80/MasterVault · 104 tokens

obsidian-markdown

Obsidian Flavored Markdown syntax reference — wikilinks, embeds, callouts, properties/frontmatter, tags, comments, block IDs. Use when creating or editing .md files in an Obsidian vault, when linking or embedding notes, when writing callouts or note frontmatter, or when the user mentions wikilinks, backlinks, block…

pivoshenko/pivoshenko.ai · 126 tokens

obsidian-docs

Create comprehensive technical documentation following Obsidian conventions with bidirectional linking, proper folder structure, templates, and developer-focused content. Use when creating documentation, READMEs, wikis, knowledge bases, ADRs, runbooks, or any technical writing. Triggers on: documentation, docs…

parisgroup-ai/imersao-ia-setup · 83 tokens

brainstorming

You MUST use this before any creative work - creating features, building components, adding functionality, or modifying behavior. Explores user intent, requirements and design before implementation.

JustMichael-80/MasterVault · 37 tokens

skill-creator

Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an existing skill, run evals to test a skill, benchmark skill performance with variance analysis, or optimize a skill's description for better triggering accuracy.

JustMichael-80/MasterVault · 64 tokens