source-grounded-writing

source-grounded-writing is a skill for Claude Code, Codex from davidomil/cloudx. It costs 30 tokens per session (2,256 once invoked), scanned A, original, MIT.

A writing workflow for producing technical replies and documents from checked source material. It chooses a direct approach for short text and an evidence-structured process for substantial or rendered documents.

In plain words
What is it for?
It helps write technical documentation, design decisions, issues, merge-request comments, emails, chat replies, and rendered documents while checking the meaning against the sources.
Why use it?
It reduces unsupported claims and mismatches between a document and the sources behind it. It also avoids unnecessary document-building steps for small requests.

Skill for Claude CodeCodex

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

Good fit It helps write technical documentation, design decisions, issues, merge-request comments, emails, chat replies, and rendered documents while checking the meaning against the sources.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/davidomil/cloudx/source-grounded-writing
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 davidomil/cloudx --skill source-grounded-writing
Clone the repo
git clone --depth 1 https://github.com/davidomil/cloudx

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 source-grounded-writing

README.md
[![agentmods](https://agentmods.dev/badge/skills/davidomil/cloudx/source-grounded-writing/github.svg)](https://agentmods.dev/skills/davidomil/cloudx/source-grounded-writing)
Your own site
<a href="https://agentmods.dev/skills/davidomil/cloudx/source-grounded-writing"><img src="https://agentmods.dev/badge/skills/davidomil/cloudx/source-grounded-writing/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 source-grounded-writing

Your own site · 80×15
<a href="https://agentmods.dev/skills/davidomil/cloudx/source-grounded-writing"><img src="https://agentmods.dev/badge/skills/davidomil/cloudx/source-grounded-writing.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 30 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,256 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.00030 $0.02256
Opus 5.5 $0.00012 $0.00902
Sonnet 5.5 $0.00006 $0.00451
Haiku 4.5 $0.00003 $0.00226

Measured 4d ago against content hash eded01238aff, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

source-grounded-writing 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 4d ago.

The scan reads SKILL.md. This mod also ships 13 executable files (scripts/check_deps.py, scripts/compile_doc.py, scripts/dot_wrapper.mjs, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

apps/server/skills/source-grounded-writing/SKILL.md · 128 lines

How it starts

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

Source Grounded Writing

Use this skill for technical docs, design decisions, issues, MR comments, email, chat replies, and rendered artifacts. Match the work to the requested output. Evidence quality does not depend on document length.

Choose the writing path

Direct writing: For a short reply, issue, email, MR comment, or wording-only revision, read the relevant sources, check the claims, and write the requested text directly. Do not create IR files, probe rendering dependencies, compile Quarto, or install tools. A one-sentence answer may still need substantial investigation.

Artifact writing: Use the IR and compiler for substantial, reusable, or rendered documents when the evidence structure and formats justify them. Render only requested targets. Read setup and migration instructions in README.md when using this path.

Both paths follow the same source policy and meaning checks. Follow the session's documentation-search and original-source ingestion rules; this skill does not replace them. If archive services are unavailable, report that and inspect available originals without claiming archive validation.

Establish the brief

Identify these from the request and prior conversation before drafting:

  • What does the reader know, and what must they decide or do?
  • What output, length, scope, and task order did the user request?
  • What has the user excluded or asked to remove?
  • Which source revision, configuration, board, or run is relevant?

Infer routine choices from context. Ask only when missing information materially changes the result. Carry corrections forward for the same artifact or channel: if testing narration was removed, do not add it back in a later rewrite. Keep qualifications when removing them would change meaning. Separate new requirements and implementation changes from avoidable editorial rework.

For a beginner guide, explain prerequisites in task order and try each instruction from that reader's perspective. Introduce terms before using them. Keep project history and optional future features outside the operator's main path.

Read the full file on GitHub · 128 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. 4d ago First seen · 128 lines · 30 tokens per session scan A eded01238aff

Subscribe to this mod's changes

source-grounded-writing is a skill published in the GitHub repository davidomil/cloudx (1 stars, last pushed 2d ago), licensed MIT. It adds 30 tokens to every session and 2,256 once invoked, about $0.0001 per session on Opus 5.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-11-03.

Related

source-grounded-writing compared with skills from other repositories

source-grounded-writing next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
source-grounded-writingdavidomil/cloudxSkill12d agoMITA30Claude Code, Codex
batch-apiQwenLM/qwen-codeSkill29kyesterdayApache-2.0A51Claude Code
repo-hygieneQwenLM/qwen-codeSkill29kyesterdayApache-2.0A48Claude Code, Codex
test-failure-explorerQwenLM/qwen-codeSkill29kyesterdayApache-2.0A32Claude Code, Codex
coordinateQwenLM/qwen-codeSkill29kyesterdayApache-2.0A43Claude Code
build-teaql-appteaql/teaql-agent-kitSkill2.8kyesterdayMITA112Codex
context-exclusionteaql/teaql-agent-kitSkill2.8kyesterdayMITA41Claude Code