source-driven

source-driven is a skill for Claude Code, Codex from OutlineDriven/odin-claude-plugin. It costs 52 tokens per session (838 once invoked), scanned A, original, Apache-2.0.

A development workflow for writing framework-specific code from official documentation. It checks dependency versions and records sources for the technical choices it makes.

In plain words
What is it for?
Use it when implementing or checking code that depends on a particular framework, language, or library.
Why use it?
It reduces the risk of relying on outdated or incorrect framework patterns. When a pattern cannot be verified, it marks that uncertainty explicitly.

Skill for Claude CodeCodex

Part of the odin-code plugin — 52 skills shipped together

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/outlinedriven/odin-claude-plugin/source-driven
Any agent
npx skills add OutlineDriven/odin-claude-plugin --skill source-driven
Clone the repo
git clone --depth 1 https://github.com/OutlineDriven/odin-claude-plugin

Made for: Claude Code, Codex.

Or install odin-code, the plugin that ships this one along with the rest of its 52 skills.

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-driven

README.md
[![agentmods](https://agentmods.dev/badge/skills/outlinedriven/odin-claude-plugin/source-driven.svg)](https://agentmods.dev/skills/outlinedriven/odin-claude-plugin/source-driven)
Your own site
<a href="https://agentmods.dev/skills/outlinedriven/odin-claude-plugin/source-driven"><img src="https://agentmods.dev/badge/skills/outlinedriven/odin-claude-plugin/source-driven.svg" alt="Measured on agentmods" height="20"></a>
Per session 52 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 838 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.00052 $0.00838
Opus 5 $0.00026 $0.00419
Sonnet 5 $0.00010 $0.00168
Haiku 4.5 $0.00005 $0.00084

Measured yesterday against content hash 0cf9bdb42e2a, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

source-driven 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 yesterday.

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.

plugins/odin-code/skills/source-driven/SKILL.md · 42 lines

How it starts

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

Source-driven development

Contract

Field Bound contract
Trigger The current task is writing or verifying framework-specific code, boilerplate, or a documented, correct implementation.
Authority Reversible-local: writes framework-specific code plus full-URL citations; rollback to last VCS commit on failure.
Side effect Local writes with explicit UNVERIFIED flags for unverifiable patterns.
Done Every framework-specific decision is backed by a cited official source and unverified patterns are explicitly flagged.

Inputs

  • Framework context (required): the framework, language, or library.
  • Dependency file (required): package.json, requirements.txt, go.mod, Cargo.toml, Gemfile, composer.json, or pyproject.toml.
  • Stack examples (optional): examples supplied by the caller. This skill has no bundled stack-reference dependency.

Procedure

  1. Read the project's dependency file and state the exact pinned versions. Done when: every dependency in the file has its pinned version stated.
  2. For each dependency about to be written against, read the latest stable release from the release channel (registry, releases page, official download page). Report pinned and latest versions side by side. Name the gap when they differ. Done when: each touched dependency shows pinned and latest side by side, with the gap named when they differ.
  3. Fetch the official documentation page for the exact feature being implemented. Use the source hierarchy: (1) official docs, (2) official blog/changelog, (3) web standards references (MDN, web.dev), (4) runtime compatibility references. Never use Stack Overflow, blog posts, tutorials, or training data as primary sources. Done when: the fetched page for each feature comes from the highest available tier of the hierarchy and no banned source is cited.
  4. Extract the implementation patterns shown in the fetched docs. Use those exact API signatures. If the docs show a newer approach, use the newest one the pinned version supports. Do not use deprecated forms. Done when: every written API signature matches the fetched docs for the pinned version and no deprecated form remains.
  5. When official sources contradict each other, report the discrepancy. Do not silently choose one. Done when: each contradiction surfaces as a CONFLICT DETECTED report rather than a silent pick.
  6. Write code that follows the documented patterns. Every non-obvious decision gets a full-URL citation in a code comment. Quote the relevant passage when it supports a non-obvious decision. Done when: each non-obvious decision carries a full-URL citation, quoting the supporting passage where one exists.
  7. Flag any pattern that could not be verified against official documentation with an explicit UNVERIFIED marker rather than a hedged disclaimer or confident guess. Done when: every unverified pattern carries an UNVERIFIED marker and none is presented as confirmed.

Read the full file on GitHub · 42 lines

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. yesterday First seen · 42 lines · 52 tokens per session scan A 0cf9bdb42e2a

Subscribe to this mod's changes

source-driven is a skill published in the GitHub repository OutlineDriven/odin-claude-plugin (35 stars, last pushed yesterday), licensed Apache-2.0. It adds 52 tokens to every session and 838 once invoked, about $0.0003 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-09-04.

Related

Other skills, from other repositories

java-clean-arch

Reviews or implements Clean Architecture / Hexagonal Architecture (Ports & Adapters) and DDD tactical patterns for Java projects. Use when user asks to "apply clean architecture", "implement hexagonal architecture", "add ports and adapters", "apply DDD", "refactor to clean arch", "review architecture", or "add value…

ducpm2303/claude-java-plugins · 68 tokens

java-adr

Creates, lists, and manages Architecture Decision Records for Java projects. Use when user asks to "create an ADR", "document this decision", "write an architecture decision", "add ADR", "list decisions", "show ADRs", or "record this architectural choice".

ducpm2303/claude-java-plugins · 54 tokens

java-test

Generates JUnit 5 and Mockito unit tests or Testcontainers integration tests, auto-detecting project setup. Use when user asks to "write tests", "generate tests", "add unit tests", "create test class", "test this service", or "write integration tests".

ducpm2303/claude-java-plugins · 57 tokens

java-jpa

Reviews Spring Data JPA for N+1 queries, fetch strategies, projections, and Specifications. Use when user asks to "review JPA", "check for N+1", "JPA performance", "review my entities", "check fetch strategy", or "review my repositories".

ducpm2303/claude-java-plugins · 57 tokens

java-logging

Reviews Java logging for SLF4J best practices, MDC context, structured logging, and PII safety. Use when user asks to "review logging", "check my logs", "logging review", "is my logging correct", "MDC setup", or "check for PII in logs".

ducpm2303/claude-java-plugins · 60 tokens

java-security

Reviews or implements Spring Security configuration — JWT authentication, OAuth2, method-level security, CORS, and CSRF. Use when user asks to "add authentication", "secure this API", "implement JWT", "configure Spring Security", "add OAuth2 login", "protect endpoints", or "review security config".

ducpm2303/claude-java-plugins · 63 tokens