stl-lexicon

stl-lexicon is a command for Claude Code from SummerSec/SumSec-Skills. It costs 28 tokens per session (283 once invoked), scanned A, original, Apache-2.0.

A command for maintaining a dictionary of word pairs that can confuse a semantic linter, a tool that checks meaning-related wording problems.

In plain words
What is it for?
Use it to add, edit, or remove dictionary entries, rebuild the generated data, and check that the files match.
Why use it?
It keeps the source dictionary and generated runtime data aligned, while requiring tests after changes.

Command for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the semantic-linter plugin — 4 skills, 3 commands shipped together

Good fit Use it to add, edit, or remove dictionary entries, rebuild the generated data, and check that the files match.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/summersec/sumsec-skills/stl-lexicon
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/SummerSec/SumSec-Skills

Made for: Claude Code.

Or install semantic-linter, the plugin that ships this one along with the rest of its 4 skills, 3 commands.

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 stl-lexicon

README.md
[![agentmods](https://agentmods.dev/badge/commands/summersec/sumsec-skills/stl-lexicon/github.svg)](https://agentmods.dev/commands/summersec/sumsec-skills/stl-lexicon)
Your own site
<a href="https://agentmods.dev/commands/summersec/sumsec-skills/stl-lexicon"><img src="https://agentmods.dev/badge/commands/summersec/sumsec-skills/stl-lexicon/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 stl-lexicon

Your own site · 80×15
<a href="https://agentmods.dev/commands/summersec/sumsec-skills/stl-lexicon"><img src="https://agentmods.dev/badge/commands/summersec/sumsec-skills/stl-lexicon.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 28 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 283 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.00028 $0.00283
Opus 5.5 $0.00011 $0.00113
Sonnet 5.5 $0.00006 $0.00057
Haiku 4.5 $0.00003 $0.00028

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

Security

Grade A, and why

stl-lexicon 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.

semantic-linter/commands/stl-lexicon.md · 27 lines

What it actually says

维护语义陷阱词词典

进入词典维护流程:在权威源 references/semantic-trap-lexicon.md 中增删改词汇对,再生成运行时数据。

执行步骤

委托 lexicon-manager skill 完成,核心约定:

  1. 权威源为 references/semantic-trap-lexicon.md;lib/lexicon-data.js 由 npm run build-lexicon 生成,不手写。
  2. 与用户确认操作类型:添加 / 修改 / 删除词汇对。
  3. 仅编辑 MD 表格,再运行:
    npm run build-lexicon
    npm test
    
  4. 校验生成数据与 MD 一致:npm run build-lexicon:check。

注意

  • 新增 ID 取同系列最大 ID + 1,不重用已删除 ID。
  • 词典变更后,记得用 /stl-rules 在各项目重新生成规则文件以同步。
  • 完整字段定义与批量流程见 lexicon-manager skill。
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 · 27 lines · 28 tokens per session scan A ba68e1bae37f

Subscribe to this mod's changes

stl-lexicon is a command published in the GitHub repository SummerSec/SumSec-Skills (8 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 28 tokens to every session and 283 once invoked, about $0.0001 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-09-03.