documentation

documentation is a skill for Claude Code, Codex from furkangonel/cowrangler. It costs 19 tokens per session (951 once invoked), scanned A, original, MIT.

A set of standards for documenting code with JSDoc, inline comments, README files, and API documentation. It emphasizes explaining why code exists and recording useful details about functions, classes, and behavior.

In plain words
What is it for?
Use it to write code comments, function and class documentation, README content, and API reference material.
Why use it?
It helps documentation stay useful to future developers instead of merely repeating what the code already says.

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/furkangonel/cowrangler/documentation
Any agent
npx skills add furkangonel/cowrangler --skill documentation
Clone the repo
git clone --depth 1 https://github.com/furkangonel/cowrangler

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 documentation

README.md
[![agentmods](https://agentmods.dev/badge/skills/furkangonel/cowrangler/documentation.svg)](https://agentmods.dev/skills/furkangonel/cowrangler/documentation)
Your own site
<a href="https://agentmods.dev/skills/furkangonel/cowrangler/documentation"><img src="https://agentmods.dev/badge/skills/furkangonel/cowrangler/documentation.svg" alt="Measured on agentmods" height="20"></a>
Per session 19 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 951 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.00019 $0.00951
Opus 5 $0.00010 $0.00476
Sonnet 5 $0.00004 $0.00190
Haiku 4.5 $0.00002 $0.00095

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

Security

Grade A, and why

documentation 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.

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.

bundled_skills/documentation/SKILL.md · 144 lines

How it starts

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

Documentation SOP

Principle: Document WHY, not WHAT

Good comments explain intent, context, and constraints — not what the code obviously does.

// BAD: restates the code
// increment counter by 1
counter++;

// GOOD: explains non-obvious reason
// Rate limiter uses a sliding window; we increment here to count
// the request before the limit check so abusive callers always
// consume their quota even if the request is rejected.
counter++;

JSDoc / TSDoc Standards

Functions

/**
 * Calculates the user's subscription renewal date based on their billing cycle.
 *
 * @param user - The user whose renewal date to calculate
 * @param referenceDate - The date to calculate from (defaults to now; override in tests)
 * @returns ISO 8601 date string of the next renewal, or null if subscription is cancelled
 * @throws {SubscriptionError} If the user has no active subscription
 *
 * @example
 * const renewalDate = getRenewalDate(user);
 * // → "2025-03-15T00:00:00.000Z"
 */
function getRenewalDate(user: User, referenceDate = new Date()): string | null {
  ...
}

Classes

/**
 * Manages the connection pool for the primary database.
 *
 * Implements exponential backoff on connection failures and
 * automatically reconnects after network interruptions.
 * Not intended for use with read replicas — use ReadReplicaPool for those.
 */
class DatabasePool {
  ...
}

Interfaces / Types

/** Represents a processed payment from the Stripe gateway. */
interface StripePayment {
  /** Stripe payment intent ID (pi_...) */
  intentId: string;
  /** Amount in the smallest currency unit (cents for USD) */
  amountCents: number;
  /** ISO 4217 currency code */
  currency: string;
  /** Unix timestamp of when Stripe confirmed the charge */
  confirmedAt: number;
}

When to Write Inline Comments

Write a comment when:

  • A workaround for a third-party library bug is in place (link to the issue)
  • Business logic is non-obvious (// Freelancers in DE are taxed differently per §19 UStG)
  • A performance optimization would look like an anti-pattern without explanation
  • A "why not" explains an approach that was tried and abandoned

Read the full file on GitHub · 144 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 · 144 lines · 19 tokens per session scan A 47d9730bcc73

Subscribe to this mod's changes

documentation is a skill published in the GitHub repository furkangonel/cowrangler (2 stars, last pushed 3d ago), licensed MIT. It adds 19 tokens to every session and 951 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-31.

Related

Other skills, from other repositories

eastmoney-stock-valuation

查询东财个股日估值。当用户需要查询全部 A 股个股的每日估值数据,包括市盈率(TTM/LYR)、市净率、市现率、市销率、PEG、总市值、流通市值、收盘价等;支持单票单日、单票历史区间及全市场查询,或了解东财个股日估值时使用。.

FTShare-Lab/FTShare-skill · 93 tokens

stock-quotes-list

查询 A 股行情列表(分页)。当用户需要获取 A 股(沪深京)股票行情列表,支持按板块筛选、多字段排序与分页,用于行情中心「个股行情」等列表展示,或了解A 股行情列表(分页)时使用。.

FTShare-Lab/FTShare-skill · 64 tokens

eastmoney-us-stock-daily-ohlc

查询东财美股历史日 K 线。当用户需要查询东财美股历史日 K 线;有日期范围时按 3 天窗口分批请求,无日期范围时全量拉取,或了解东财美股历史 OHLC、东财美股历史日 K 线时使用。.

FTShare-Lab/FTShare-skill · 77 tokens

etf-list-paginated

ETF 分页列表,支持分页、排序、筛选(market.ft.tech)。用户问 ETF 列表、全市场 ETF、按涨跌幅排序的 ETF、筛选某类 ETF 时使用。.

FTShare-Lab/FTShare-skill · 51 tokens

etf-ohlcs

单只 ETF OHLC K 线(market.ft.tech)。用户问某只 ETF 的 K 线、日线/周线/月线、开高低收、前/后复权时使用。.

FTShare-Lab/FTShare-skill · 50 tokens

etf-prices

单只 ETF 分钟级分时价格(market.ft.tech)。用户问某只 ETF 分时、当日走势、多日分时、一分钟行情时使用。.

FTShare-Lab/FTShare-skill · 40 tokens