shortwrite

shortwrite is a skill for Claude Code, Codex from slowww-ai/second-brain. It costs 157 tokens per session (884 once invoked), scanned A, original, MIT.

A browser-based writing workspace for turning a long source article into a shorter piece with a chosen angle, such as a list or a surprising contrast.

In plain words
What is it for?
Use it to choose a source and draft, read the source for accurate facts, and write or revise the short piece according to its stated angle and format.
Why use it?
It keeps the original article available as a read-only reference while you shape and save the shorter draft separately.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/slowww-ai/second-brain/shortwrite
Any agent
npx skills add slowww-ai/second-brain --skill shortwrite
Clone the repo
git clone --depth 1 https://github.com/slowww-ai/second-brain

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 shortwrite

README.md
[![agentmods](https://agentmods.dev/badge/skills/slowww-ai/second-brain/shortwrite.svg)](https://agentmods.dev/skills/slowww-ai/second-brain/shortwrite)
Your own site
<a href="https://agentmods.dev/skills/slowww-ai/second-brain/shortwrite"><img src="https://agentmods.dev/badge/skills/slowww-ai/second-brain/shortwrite.svg" alt="Measured on agentmods" height="20"></a>
Per session 157 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 884 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00157 $0.00884
Opus 5 $0.00078 $0.00442
Sonnet 5 $0.00031 $0.00177
Haiku 4.5 $0.00016 $0.00088

Measured 3d ago against content hash 8e57b18e5cc0, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

shortwrite 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 3d 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.

.claude/skills/shortwrite/SKILL.md · 48 lines

How it starts

The opening of the file, as written. The whole thing — 48 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Shortwrite — long source → short angled piece

shortwrite.html (repo root) is a two-pane canvas:

  • Left = SOURCE — a long article (e.g. wiki/outputs/ko/skillopt-guide.md), opened read-only as reference, with a TOC.
  • Right = DRAFT — the new short piece, edited in the browser and saved to its own .md via the File System Access API.

The user and Claude meet through the draft file; the source file is shared read-only context for both. Turn-based, like [[cowrite]].

The draft file contract

Every short draft carries this frontmatter — the angle and hook_type fields are the whole point:

---
title:
angle:        # the specific perspective/hook this piece takes
hook_type:    # 고백+깨달음 / 숫자+반전 / 변신 스토리 / Listicle / 정면반박
source:       # filename of the long source article
format: short
status: draft
---

The loop

  1. Confirm both files. Identify the long source and the short draft for the session. Read the source: field in the draft frontmatter; if set, that's the long article to compress from.
  2. When the user says "이 관점으로 써줘 / 다듬어줘":
    • Read the source article in full — it's the ground truth for facts.
    • Read the draft — especially angle and hook_type. The angle decides what to keep and what to cut. One angle per piece.
    • Write the short draft so it pulls only what serves that angle from the source. Don't restate the whole source; a short piece makes ONE point well.
    • Apply the SNS hook playbook (see the cowrite skill, or wiki/notes/viral-content-hook-patterns.md): scroll-stopping first line matched to hook_type, concrete evidence (a number/workflow from the source), mirror-question or either/or close, criticize systems not people, no "follow/save" CTA.
    • Keep it tight. Target body ~600–800 chars (the corpus save sweet-spot the HTML counts). If the angle needs more, say so rather than padding.
    • Preserve frontmatter; keep angle/hook_type/source accurate.
  3. The user hits 초안 열기 / ⟳ in the browser to see your edit. Take turns: they save before handing to you; they reload after you edit.

Read the full file on GitHub · 48 lines

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. 3d ago First seen · 48 lines · 157 tokens per session scan A 8e57b18e5cc0

Subscribe to this mod's changes

shortwrite is a skill published in the GitHub repository slowww-ai/second-brain (10 stars, last pushed 20d ago), licensed MIT. It adds 157 tokens to every session and 884 once invoked, about $0.0008 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

systematic-debugging

Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.

obra/superpowers · 21 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.

obra/superpowers · 37 tokens

auto-perf-optimize

Run agent-driven VS Code performance or memory investigations. Use when asked to launch Code OSS, automate a VS Code scenario, run the Chat memory smoke runner, capture renderer heap snapshots, take workflow screenshots, compare run summaries, or drive a repeatable scenario before heap-snapshot analysis.

microsoft/vscode · 62 tokens

chat-perf

Run chat perf benchmarks and memory leak checks against the local dev build or any published VS Code version. Use when investigating chat rendering regressions, validating perf-sensitive changes to chat UI, or checking for memory leaks in the chat response pipeline.

microsoft/vscode · 51 tokens

chat-pet-sprite-creation

Use when creating or changing VS Code chat pet sprite art, sprite sheets, state animations, eye treatments, Stable/Insiders variants, or pet transitions under src/vs/workbench/contrib/chat/browser/widget/media/chatPet.

microsoft/vscode · 53 tokens

cpu-profile-analysis

Analyze V8/Chrome CPU profiles (.cpuprofile) and DevTools trace files (Trace-.json). Use when: profiling performance, investigating slow functions, comparing code paths, finding bottlenecks, analyzing timeToRequest, understanding call trees from sampling profiler data, analyzing layout/paint/rendering, investigating…

microsoft/vscode · 71 tokens