Polaris: Skill for Claude Code

.agents/skills/classify-doc/SKILL.md

classify-doc is a skill for Claude Code, Codex from sponge-b0b/Polaris. It costs 38 tokens per session (1,478 once invoked), scanned A, original, Apache-2.0.

A workflow for classifying, moving, or renaming existing non-ADR documents under the `docs/` directory. An ADR is an Architecture Decision Record, a document that records an architectural choice.

In plain words
What is it for?
It helps correct a document's classification, folder, entity prefix, or platform prefix, and update references and wiki records when required. New documents and ADRs use separate workflows.
Why use it?
It keeps documentation in the correct structural category and preserves links to it when its location or name changes. It also prevents this workflow from taking over documents owned by another system.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents); mentions Codex; $skill-name invocation.

This is sponge-b0b/Polaris's own configuration. It tells Claude Code and Codex how to work on Polaris 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 Polaris configures →

Reuse

Borrowing it

Nothing to install: this file belongs to sponge-b0b/Polaris. 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/sponge-b0b/Polaris/main/.agents/skills/classify-doc/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/sponge-b0b/Polaris

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 classify-doc

README.md
[![agentmods](https://agentmods.dev/badge/skills/sponge-b0b/polaris/classify-doc/github.svg)](https://agentmods.dev/skills/sponge-b0b/polaris/classify-doc)
Your own site
<a href="https://agentmods.dev/skills/sponge-b0b/polaris/classify-doc"><img src="https://agentmods.dev/badge/skills/sponge-b0b/polaris/classify-doc/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 classify-doc

Your own site · 80×15
<a href="https://agentmods.dev/skills/sponge-b0b/polaris/classify-doc"><img src="https://agentmods.dev/badge/skills/sponge-b0b/polaris/classify-doc.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 38 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,478 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.00038 $0.01478
Opus 5.5 $0.00015 $0.00591
Sonnet 5.5 $0.00008 $0.00296
Haiku 4.5 $0.00004 $0.00148

Measured 1mo ago against content hash 51b08e2c0296, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

classify-doc 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 1mo 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.

.agents/skills/classify-doc/SKILL.md · 226 lines

How it starts

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

Classify Doc

$classify-doc owns the structural lifecycle of existing Living Entity Wiki-classified non-ADR documents under docs/.

Use it when a document:

  • is unclassified or misplaced;
  • belongs in a different document class;
  • needs relocation because its purpose changed;
  • needs its entity or platform- prefix corrected;
  • is surfaced by $wiki-lint as structurally misclassified.

For a new classified document, use $to-doc.

For an ADR, use $to-adr-doc.

1. Confirm Scope

The file must already exist, must not be an ADR, and must be inside the Living Entity Wiki document universe after docs/.wikiignore is applied.

If it is under docs/adr/, use $to-adr-doc.

If new content is being created, use $to-doc.

If its path is matched by docs/.wikiignore, it is outside this skill's ownership; use the workflow or repository owner responsible for that documentation tree.

2. Respect the Wiki Exclusion Boundary

Read docs/.wikiignore when present and apply only the exclusion grammar defined by wiki/_schema.md.

If the current path is explicitly excluded:

  • do not classify, move, or rename it under this skill;
  • do not apply Living Entity Wiki prefix rules;
  • follow the workflow or repository owner responsible for that documentation tree.

Do not infer exclusions for unfamiliar directories. If a project-owned path is not excluded and does not satisfy a normal document class, treat it as unclassified rather than inventing a new .wikiignore entry.

3. Determine Current and Target Classification

Derive the current class from the document's location.

Apply the target-class rules in wiki/_schema.md to the document's current content and purpose, not merely its existing folder.

Possible project-owned classes are:

current
proposed
research
reference
process

An existing loose or unrecognized document may be unclassified.

Do not use or introduce:

doc_class:
Doc-Class:

If current vs proposed is genuinely ambiguous, follow the schema fail-safe and use proposed.

Read the full file on GitHub · 226 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. 1mo ago Changed · +3 lines · +3 tokens per session 51b08e2c0296
  2. 1mo ago First seen · 223 lines · 35 tokens per session scan A 51815b08b496

Subscribe to this mod's changes

classify-doc is a skill published in the GitHub repository sponge-b0b/Polaris (4 stars, last pushed today), licensed Apache-2.0. It adds 38 tokens to every session and 1,478 once invoked, about $0.0002 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-08-31.

Related

Other skills, from other repositories

orbit-notion

Open Orbit briefing skill — selected by the Orbit pipeline when Notion is the user's only connected connector, or when the user explicitly scopes their daily digest to Notion. Pulls the past 24 hours of document edits, comments, mentions, and database row changes from the user's authenticated Notion connection and…

nexu-io/open-design · 117 tokens

instrument-data-to-allotrope

Convert laboratory instrument output files (PDF, CSV, Excel, TXT) to Allotrope Simple Model (ASM) JSON format or flattened 2D CSV. Use this skill when scientists need to standardize instrument data for LIMS systems, data lakes, or downstream analysis. Supports auto-detection of instrument types. Outputs include full…

anthropics/knowledge-work-plugins · 123 tokens

apify-youtube-transcript-scraper

Get YouTube captions, timestamped quotations, SRT/VTT and translated transcripts for videos, channels and playlists through the harshmaur/youtube-transcript-scraper Apify Actor.

sickn33/agentic-awesome-skills · 48 tokens

legal-hold

Issue, refresh, release, or report on legal holds — drafts the hold notice as .docx, updates legalhold fields in log.yaml, and calendars the next refresh. Use when the user says "issue a hold", "refresh hold", "release hold", or asks for a portfolio-wide hold status report.

anthropics/claude-for-legal · 68 tokens

baoyu-youtube-transcript

A tool for downloading the written captions, subtitles, chapter information, speaker labels, and cover image from a YouTube video using its URL or ID.

JimLiu/baoyu-skills · 107 tokens

feishu

Work with Feishu or Lark bots, docs, sheets, bitables, approval flows, and OpenAPI/MCP setup without hardcoding credentials.

Hmbown/CodeWhale · 33 tokens