aistack: Skill for Claude Code

.claude/skills/news-draft/SKILL.md

news-draft is a skill for Claude Code from alp82/aistack. It costs 23 tokens per session (836 once invoked), scanned A, original, MIT.

A workflow for preparing summaries and topics for news inbox items, saving one draft file per item for review. It reads the source page when needed and does not write changes to production data during drafting.

In plain words
What is it for?
Use it to process undrafted news items, extract what happened and who it affects, and prepare reviewable draft files.
Why use it?
It separates research and drafting from the final update, so an owner can review and merge drafts before applying them.

Skill for Claude Code

Written for Claude Code: disable-model-invocation in frontmatter. Also seen: mentions subagents.

This is alp82/aistack's own configuration. It tells Claude Code how to work on aistack itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything aistack configures →

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is node scripts/news-drafts.ts list.

Reuse

Borrowing it

Nothing to install: this file belongs to alp82/aistack. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/alp82/aistack/main/.claude/skills/news-draft/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/alp82/aistack

Made for: Claude Code.

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 news-draft

README.md
[![agentmods](https://agentmods.dev/badge/skills/alp82/aistack/news-draft.svg)](https://agentmods.dev/skills/alp82/aistack/news-draft)
Your own site
<a href="https://agentmods.dev/skills/alp82/aistack/news-draft"><img src="https://agentmods.dev/badge/skills/alp82/aistack/news-draft.svg" alt="Measured on agentmods" height="20"></a>
Per session 23 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 836 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.1 $0.00023 $0.00836
Opus 5 $0.00012 $0.00418
Sonnet 5 $0.00005 $0.00167
Haiku 4.5 $0.00002 $0.00084

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

Security

Grade A, and why

news-draft 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 6d 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/news-draft/SKILL.md · 94 lines

How it starts

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

news-draft

Draft the news inbox. One run reads the undrafted items out of prod, reads the page behind each one, and writes one draft file per item. The owner reviews the files, merges them, and runs the apply command.

Nothing here writes to prod. The apply command is the only write path, and it runs after the owner has merged the files.

Spec: the Drafting section of docs/specs/news-pipeline.md. Decision: docs/adr/0003-news-drafting-in-the-owner-session.md.

Steps

  1. Read the work:

    node scripts/news-drafts.ts list
    

    The output is JSON: items (the undrafted inbox rows), topics (the owner-managed list), and remaining (how many items sit past the batch limit). Add --limit N to take a bigger or smaller batch.

    Stop here and say so when items is empty. There is nothing to draft.

  2. Read the page behind every item. Dispatch one Explore subagent per item, all in one message so they run at once. Ask each for the facts of the page: what shipped or happened, who it is for, and the one number or name that matters.

    Skip the subagent when the item already carries sourceText. The collector kept the body because the license allowed it, so the text is already in front of you.

    Retry a page that fails, once. An item whose page still refuses stays undrafted, and the next run re-attempts it. Carry on with the rest.

  3. Write the summary in your own words, three or four sentences. Say what changed and who it is for. Bytes is the editorial north star: plain, short, and specific.

    Quote at most one short sentence from the page, and only from an item whose licenseClass is cc-by, permissive-release-notes, article, or hn. The re-serving table in the spec says what each class permits.

  4. Pick one topic from topics, by name.

    Ask the owner when no topic fits and you have a good candidate. Name the item, name the topic you propose, and wait for the answer. The topic list is owner-managed and it grows one topic at a time.

Read the full file on GitHub · 94 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. 6d ago First seen · 94 lines · 23 tokens per session scan A ec0e45e8bde6

Subscribe to this mod's changes

news-draft is a skill published in the GitHub repository alp82/aistack (46 stars, last pushed 3d ago), licensed MIT. It adds 23 tokens to every session and 836 once invoked, about $0.0001 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-30.

Related

Other skills, from other repositories