sema-mint

sema-mint is a skill for Claude Code from emergent-wisdom/sema. It costs 43 tokens per session (2,790 once invoked), scanned A, original, MIT.

A guide for creating new Sema patterns, which are shared vocabulary entries whose names come from a hash of their definitions.

In plain words
What is it for?
Use it when designing, checking, and adding a new content-addressed pattern to a writable Sema project database.
Why use it?
It explains the required fields, links between patterns, validation checks, and identity rules so new entries are created consistently.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Part of the sema plugin — 4 skills, 2 hooks, 1 MCP server shipped together

Good fit Use it when designing, checking, and adding a new content-addressed pattern to a writable Sema project database.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/emergent-wisdom/sema/sema-mint
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 emergent-wisdom/sema --skill sema-mint
Clone the repo
git clone --depth 1 https://github.com/emergent-wisdom/sema

Made for: Claude Code.

Or install sema, the plugin that ships this one along with the rest of its 4 skills, 2 hooks, 1 MCP server.

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 sema-mint

README.md
[![agentmods](https://agentmods.dev/badge/skills/emergent-wisdom/sema/sema-mint/github.svg)](https://agentmods.dev/skills/emergent-wisdom/sema/sema-mint)
Your own site
<a href="https://agentmods.dev/skills/emergent-wisdom/sema/sema-mint"><img src="https://agentmods.dev/badge/skills/emergent-wisdom/sema/sema-mint/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 sema-mint

Your own site · 80×15
<a href="https://agentmods.dev/skills/emergent-wisdom/sema/sema-mint"><img src="https://agentmods.dev/badge/skills/emergent-wisdom/sema/sema-mint.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 43 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,790 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00043 $0.02790
Opus 5.5 $0.00017 $0.01116
Sonnet 5.5 $0.00009 $0.00558
Haiku 4.5 $0.00004 $0.00279

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

Security

Grade A, and why

sema-mint 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.

skills/sema-mint/SKILL.md · 253 lines

How it starts

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

Minting Sema Patterns

Minting creates a new content-addressed pattern in the sema vocabulary. The definition IS the identity — hash the content, get the name. Change one invariant, get a different hash.

Before you start a minting session

1. Check that minting is enabled. sema_mint is exposed by default. If it's missing from your available MCP tools, the server has been explicitly configured to hide it. Tell the user:

"Minting isn't available on this server — it's disabled via SEMA_DISABLE_MINT=true. Unset that env var and restart to re-enable."

2. Make sure the active DB is writable. The bundled vocabulary is read-only — minting into it will be blocked with an error. If the user wants to mint, they need a project DB:

sema build my-project.db --preset full
sema use my-project.db

Or use sema_use(db_path="...") via MCP.

3. Offer the UI. Ask: "Want to open the Sema UI to watch the patterns appear as they get minted?" If yes, invoke the sema-ui skill. The UI refreshes every 5 seconds locally, so each new pattern appears within a few seconds of being minted.

When to mint

Minting is rare. Before minting, search at least three different glosses. Only mint when:

  • You've explained the same concept 3+ times across conversations
  • The concept has stable, non-negotiable invariants
  • Another agent needs the exact protocol to coordinate
  • A graph concept has been refined 3+ times (stable enough to crystallize)

The pipeline

sema_mint(pattern_json) runs a full validation + hash + store pipeline:

  1. Parse — JSON syntax check
  2. Schema validate — required fields, handle format, taxonomy path validity
  3. Dependency wiring — every {{placeholder}} in text must be declared in dependencies; every declared dependency must be used
  4. DAG check — no cycles in the dependency graph; topological sort
  5. Layer direction — lower layers cannot depend on higher layers (Infrastructure < Physics < Mind < Society)
  6. Merkle hash — hash only the semantic fields to produce the content-addressed identity
  7. Store — add to vocabulary database with computed sema_id, sema_ref, sema_stub

Read the full file on GitHub · 253 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 · +2 lines f67c453e25e6
  2. 3mo ago First seen · 251 lines · 43 tokens per session scan A 7f8975808ec8

Subscribe to this mod's changes

sema-mint is a skill published in the GitHub repository emergent-wisdom/sema (14 stars, last pushed 14d ago), licensed MIT. It adds 43 tokens to every session and 2,790 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-30.

Related

sema-mint compared with skills from other repositories

sema-mint next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
sema-mintemergent-wisdom/semaSkill1414d agoMITA43Claude Code
agent-teamsathola/claude-night-marketSkill358yesterdayMITA21Claude Code
orchestratevarun29ankuS/shodh-memorySkill326yesterdayApache-2.0A67Claude Code
coordination-busoyi77/1ai-skillsSkill19yesterdayMITA56Claude Code
hive-mind-advancedruvnet/agentic-flowSkill85020d agononeA25Claude Code
mark-readalexfrmn/murmurSkill2215d agoMITA18Claude Code
statusalexfrmn/murmurSkill2215d agoMITA14Claude Code