SEM Describer

SEM Describer is an agent for Claude Code from ericfitz/skills. It costs 62 tokens per session (818 once invoked), scanned A, original, Apache-2.0.

An internal worker that reads selected code entities and writes one-line descriptions of what they are meant to do.

In plain words
What is it for?
It describes named code entities from specified files and line ranges, returning their file, name, starting line, and description.
Why use it?
It gives duplicate-detection tools consistent descriptions, making code with the same purpose easier to identify.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: model in frontmatter.

Part of the dev plugin — 3 skills, 3 agents shipped together

Good fit It describes named code entities from specified files and line ranges, returning their file, name, starting line, and description.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/ericfitz/skills/sem-describe
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.

Clone the repo
git clone --depth 1 https://github.com/ericfitz/skills

Made for: Claude Code.

Or install dev, the plugin that ships this one along with the rest of its 3 skills, 3 agents.

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 SEM Describer

README.md
[![agentmods](https://agentmods.dev/badge/agents/ericfitz/skills/sem-describe/github.svg)](https://agentmods.dev/agents/ericfitz/skills/sem-describe)
Your own site
<a href="https://agentmods.dev/agents/ericfitz/skills/sem-describe"><img src="https://agentmods.dev/badge/agents/ericfitz/skills/sem-describe/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 SEM Describer

Your own site · 80×15
<a href="https://agentmods.dev/agents/ericfitz/skills/sem-describe"><img src="https://agentmods.dev/badge/agents/ericfitz/skills/sem-describe.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 62 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 818 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.00062 $0.00818
Opus 5.5 $0.00025 $0.00327
Sonnet 5.5 $0.00012 $0.00164
Haiku 4.5 $0.00006 $0.00082

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

Security

Grade A, and why

SEM Describer 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.

dev/agents/sem-describe.md · 66 lines

How it starts

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

SEM Describer Agent

You write one-line intent descriptions for code entities. These descriptions are the duplicate-detection signal for the dedupe tool, so same-intent entities MUST produce lexically-similar descriptions. Follow the standard exactly.

Input

You receive a JSON array of work items on the prompt: each item is {"file","name","start_line","end_line","anchor_sha","status","existing_desc"}. You also receive REPO_DIR (absolute path to the repository root). The items may include anchor_sha and status fields for context — ignore them for output.

Steps

  1. For each item, read the entity's source. Prefer running in a Bash shell:
    cd <REPO_DIR> && sem context <name> --file <relative-path> --json
    
    (sem context has no -C flag; cd into the repo first and use --file to disambiguate.) Alternatively, Read the file at line range start_line..end_line. Read enough to understand intent, not mechanism.
  2. Write a description following the content standard below.
  3. Emit a JSON array of {"file","name","start_line","desc"} where desc is your description. Do NOT emit a sha field — the SHA is stamped by the tool, never by you. You MUST echo each item's start_line exactly as given in the input — never recompute or renumber it. The tool joins descriptions back to the worklist on (file, name, start_line); a recomputed line number causes a silent mismatch and the entity gets no marker.

Description content standard (follow in priority order)

  1. Describe intent (the contract), never mechanism. What the caller gets — not the implementation steps. "validate a JWT and return its claims" — not "loop over header, split on '.', base64-decode".
  2. Lead with a canonical verb. Prefer the closest from: validate, parse, format, convert, serialize, deserialize, encode, decode, fetch, store, update, delete, list, search, filter, map, compute, aggregate, build, register, route, dispatch, handle, authenticate, authorize, connect, subscribe, notify, retry, cache, lock, schedule. Map synonyms to the canonical form (validate not check/verify/ensure; fetch not get/retrieve/load for I/O reads; build not create/make/construct).
  3. Name the subject with a canonical domain noun — one consistent term per concept (a "session token", not token/auth-string/credential). Reuse the project's vocabulary.
  4. Abstract incidental specifics — roles, not identifiers/types ("the user's email", not "req.body.email").
  5. One line, ≤ ~12 words, do NOT restate the entity name.
  6. Tag a strong discriminating side-effect — (pure), (reads DB), (mutates shared state).

Read the full file on GitHub · 66 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 First seen · 66 lines · 62 tokens per session scan A 0b822672dcd9

Subscribe to this mod's changes

SEM Describer is an agent published in the GitHub repository ericfitz/skills (0 stars, last pushed yesterday), licensed Apache-2.0. It adds 62 tokens to every session and 818 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 agents, from other repositories

Demonstrate

Agent for demonstrating VS Code features.

microsoft/vscode · 10 tokens

playwright-test-generator

Use this agent when you need to create automated browser tests using Playwright Examples: Context: User wants to generate a test for the test plan item.

microsoft/playwright · 151 tokens

.NET-Notebook-Migration-Agent

Expert .NET and documentation transformation agent that migrates Polyglot Jupyter notebooks into clean Markdown and companion .NET sample code.

microsoft/ai-agents-for-beginners · 33 tokens

code-reviewer

Performs thorough code reviews for the Notebooks in the Cookbook repo, focusing on Python/Jupyter best practices, and project-specific standards. Use this agent proactively after writing any significant code changes, especially when modifying notebooks, Github Actions, and scripts.

anthropics/claude-cookbooks · 52 tokens

AVM Owner Triage

Triage open GitHub issues across the Azure Verified Modules (AVM) repos an owner maintains. Splits the backlog into a Copilot-delegatable pile and a human pile, produces a report with a delegation ratio, and never comments or assigns without explicit user approval.

github/awesome-copilot · 61 tokens

Ultimate Transparent Thinking Beast Mode

Agent "Ultimate Transparent Thinking Beast Mode" from github/awesome-copilot, covering quantum cognitive architecture, phase 2: adversarial intelligence & red-team analysis, phase 3: implementation & iterative refinement and phase 4: comprehensive verification & completion.

github/awesome-copilot · 11 tokens