purpose-properties

purpose-properties is a skill for Claude Code, Codex from haabe/mycelium. It costs 65 tokens per session (2,783 once invoked), scanned A, original, MIT.

A tool for deriving the rules that a product’s purpose places on later decisions. It can add missing rules to an older project or recalculate them after the product’s purpose changes.

In plain words
What is it for?
Use it to retrofit purpose rules, detect changes to the product’s why, how, or what, and re-derive affected decisions.
Why use it?
It helps prevent later plans or solutions from contradicting the product definition. It also identifies when previously derived decisions may be out of date.

Skill for Claude CodeCodex

Installs and runs on its own, but its text points at files inside its plugin — anything it tells you to read at a ${CLAUDE_PLUGIN_ROOT} path is only there once the plugin is installed. Installing the plugin gets both.

Part of the mycelium plugin — 54 skills, 6 hooks 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/haabe/mycelium/purpose-properties
Any agent
npx skills add haabe/mycelium --skill purpose-properties
Clone the repo
git clone --depth 1 https://github.com/haabe/mycelium

Made for: Claude Code, Codex.

Or install mycelium, the plugin that ships this one along with the rest of its 54 skills, 6 hooks.

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 purpose-properties

README.md
[![agentmods](https://agentmods.dev/badge/skills/haabe/mycelium/purpose-properties.svg)](https://agentmods.dev/skills/haabe/mycelium/purpose-properties)
Your own site
<a href="https://agentmods.dev/skills/haabe/mycelium/purpose-properties"><img src="https://agentmods.dev/badge/skills/haabe/mycelium/purpose-properties.svg" alt="Measured on agentmods" height="20"></a>
Per session 65 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,783 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.00065 $0.02783
Opus 5 $0.00032 $0.01392
Sonnet 5 $0.00013 $0.00557
Haiku 4.5 $0.00006 $0.00278

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

Security

Grade A, and why

purpose-properties 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 today.

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/mycelium/skills/purpose-properties/SKILL.md · 196 lines

How it starts

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

Purpose Properties Skill

Retrofit and re-derive entry point for purpose.yml#purpose_properties. For new projects this runs inside /mycelium:start Step 3b. Use this skill when:

  • The project existed before v0.120.0 and has no purpose_properties (the retrofit case — every project created before that release, since /mycelium:start Step 4 exits for already-initialized projects and never reaches the extraction).
  • why, how or what changed, so derived_from_hash no longer matches and every stance below it is superseded (the drift case — this is the one that matters most and the easiest to skip).
  • A property list exists but the user wants to revisit which properties are binding.

Full contract: ${CLAUDE_PLUGIN_ROOT}/../../docs/purpose-stance.md.

Step 1: Read the current state and say which case this is

Read purpose.yml. Then say plainly which of these you are in, because the three have different consequences and the user should not have to infer it:

  • No purpose_properties → retrofit. Nothing below has ever been checked against the purpose.
  • Hash mismatch → drift. Report it as "your purpose changed after these were derived, so every purpose_stance below them was reasoned under a definition you have since changed." This is the state that quietly invalidates work; name it in those terms.
  • Hash matches → nothing to do. Report the property count and stop. Do not re-derive for tidiness.

Step 2: Attempt extraction, and classify what fails

For every element of why, how and what, ask: can I name a specific solution that would CONTRADICT this?

  • Yes → candidate property. Record property, verbatim (their words, not yours), source, and the contradicting solution in contradicted_by.
  • Nodo not force one. Quality adjectives — secure, accessible, fast, simple, delightful, robust — yield nothing checkable, because every candidate solution claims to satisfy them.

Measured 2026-08-23, blind: "accessible and secure" produced no checkable property, while five abstract framework principles produced clean ones. The axis is not abstract vs concrete — it is quality adjective vs structural claim. Do not treat concrete-sounding words as safe.

Read the full file on GitHub · 196 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. today Changed · +30 lines cf3cde62488e
  2. 4d ago First seen · 166 lines · 65 tokens per session scan A 860b23eee56e

Subscribe to this mod's changes

purpose-properties is a skill published in the GitHub repository haabe/mycelium (45 stars, last pushed today), licensed MIT. It adds 65 tokens to every session and 2,783 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-08-30.

Related

Other skills, from other repositories

development-workflow

Spec-driven development lifecycle — EARS requirements, technical design docs, implementation tracking, and contribution guidelines. Use when planning features, defining requirements, or managing project lifecycle.

PracticalSwan/agent-skills · 37 tokens

elisym-customer

Discover, hire, and pay AI agents on the elisym decentralized marketplace. Use this skill when the user wants to find specialist agents by capability, delegate work to them, or check job and payment status. Agents are discovered and paid without a central platform - identity over Nostr, settlement on-chain.

elisymlabs/elisym · 66 tokens

usdc-summarize

Summarize long text for 0.05 USDC per job (devnet).

elisymlabs/elisym · 24 tokens

agent-registry

Discover, register, and hire ERC-8004 autonomous agents across 22,000+ agents on EVM + Solana. Search by capability, check on-chain reputation scores, compare agent services by category with composite scoring, browse the service catalog, enrich agent profiles, check buyer reputation, and get complete machine-readable…

lxyeternal/MalSkillBench · 78 tokens

Family Law Discovery Tracker

Use when organizing family-law discovery requests, responses, disclosures, subpoenas, authorizations, deficiencies, and meet-and-confer items into a tracker for attorney review.

zgbrenner/agentcounsel · 38 tokens

azsdk-common-pipeline-analysis

Analyze Azure SDK CI/CD pipeline failures into a structured diagnosis, and define the required output format. Load this skill before calling azsdkanalyzepipeline, which returns raw failure data that this skill interprets and formats. USE FOR: "pipeline failed", "build failure", "CI check failing", "tests failing in…

Azure/azure-sdk-for-net · 192 tokens