skill-edit

skill-edit is a skill for Claude Code from fagemx/prismstack. It costs 134 tokens per session (2,666 once invoked), scanned A, original, MIT.

A focused editor for changing specific sections of an existing skill, such as its scoring rules, warnings, or trigger conditions.

In plain words
What is it for?
Use it to adjust one named section of a skill and record the change. Use a skill-generation tool when creating a new skill or making a broad upgrade.
Why use it?
It keeps targeted edits small and avoids unintentionally rebuilding the whole skill.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: reads .claude/ paths; names the AskUserQuestion tool.

Good fit Use it to adjust one named section of a skill and record the change. Use a skill-generation tool when creating a new skill or making a broad upgrade.

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

Made for: Claude Code.

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 skill-edit

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/fagemx/prismstack/skill-edit"><img src="https://agentmods.dev/badge/skills/fagemx/prismstack/skill-edit.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 134 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,666 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.00134 $0.02666
Opus 5.5 $0.00054 $0.01066
Sonnet 5.5 $0.00027 $0.00533
Haiku 4.5 $0.00013 $0.00267

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

Security

Grade A, and why

skill-edit 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 2mo 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/skill-edit/SKILL.md · 237 lines

How it starts

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

Skill Surgeon

你是一個 skill 外科醫生。你做精確的切開和縫合,不做全身重建。 每次修改都是最小必要變更 — 改目標 section,不動其他部分。 如果改動量超過 60% 行數,告訴用戶改用 /skill-gen 重建。


Mode Routing

解析參數:

  • /skill-edit {skill-name} {section} → 直接定位到要改的 section
  • /skill-edit {skill-name} → AskUserQuestion 詢問要改什麼部分
  • /skill-edit → AskUserQuestion 詢問要改哪個 skill + 哪個部分

Section 名稱對照(見 references/editable-sections.md): role | routing | trigger | stop-gates | scoring | gotchas | forcing | anti-syc | benchmarks | discovery | output | workflow


Phase 0: Target Identification

State

  • Reads: ~/.prismstack/projects/{slug}/.prismstack/check-results.json (current score of target skill, for before/after delta)
  • Writes: edit-log.jsonl (append: timestamp, skill, section, change summary)

方法論(編輯時參考)

  • Read {PRISM_DIR}/shared/methodology/quality-standards.md — 15D rubric、評分校準案例、review 原則(含 gotchas / scoring / anti-sycophancy 各維度的標準)

{PRISM_DIR} = ~/.claude/skills/prismstack 或 .claude/skills/prismstack

0a. 先前編輯偵測

# Detect uncommitted changes from prior interrupted edit
git diff --name-only skills/ 2>/dev/null

# Search git log for recent edits to any skill
git log --oneline -10 -- skills/ 2>/dev/null

如果偵測到未 commit 的改動 → 告知用戶,問要繼續驗證還是放棄。 如果 git log 顯示近期有編輯 → 告知用戶最近的修改歷史,作為上下文參考。

0b. 確認目標

  1. 確認目標 skill:

    • ls skills/ 列出所有 skill
    • 讀目標 skill 的 SKILL.md + ls skills/{name}/references/
    • 如果 skill 不存在 → 告知用戶,建議 /skill-gen
  2. 確認修改目標:

    • 讀 references/editable-sections.md 定位 section
    • 讀目標 section 的完整內容
    • 顯示給用戶看:「目前的內容是這樣,你要改什麼?」
  3. 判定修改粒度(Level 1-4):

    • Level 4(> 60% 行數)→ 建議改用 /skill-gen,讓用戶決定

STOP gate: 用戶確認:(a) 要改哪個 skill,(b) 要改哪個 section,(c) 改成什麼。三項都確認才繼續。


Phase 1: Edit

根據 section 類型執行對應的修改流程:

Gotcha 修改

  • 遵循 gotcha 格式:Problem → Correct approach → Why Claude errs → Redirect pattern → Example ❌/✅
  • 新增 gotcha 加在現有清單尾部,不重排序號
  • 驗證:gotcha 必須是 Claude 特有的操作錯誤,不是通用建議

Scoring 修改

  • 修改前記錄舊 formula,修改後並排對比
  • 如果改了維度數量,確認 total 上限也更新
  • 驗證:每個分數等級(0/1/2 or whatever scale)有明確標準

Read the full file on GitHub · 237 lines

Files

What ships with it

1 file 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. 2mo ago First seen · 237 lines · 134 tokens per session scan A 993074c983b7

Subscribe to this mod's changes

skill-edit is a skill published in the GitHub repository fagemx/prismstack (1 stars, last pushed 6mo ago), licensed MIT. It adds 134 tokens to every session and 2,666 once invoked, about $0.0005 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 skills, from other repositories

technical-documentation

Audit, write, and improve developer documentation using Google's Developer Documentation Style Guide and Technical Writing courses. Use this skill for any documentation work, even when the user names no style guide: "audit our docs", "review this README", "write a README", "getting started guide", "how-to or…

wondelai/skills · 204 tokens

top-design

Create award-winning, immersive web experiences at the level of Awwwards-featured agencies. Use when the user mentions "Awwwards quality", "make my site stunning", "scroll animations", "parallax storytelling", "cinematic web design", "portfolio site", or "brand experience". Also trigger when elevating a standard…

wondelai/skills · 113 tokens

crossing-the-chasm

Navigate the technology adoption lifecycle from early adopters to mainstream market. Use when the user mentions "crossing the chasm", "beachhead segment", "whole product", "early adopters vs mainstream", "tech go-to-market", "bowling pin strategy", "technology adoption lifecycle", "pragmatist buyers", "growth stalled…

wondelai/skills · 139 tokens

design-everyday-things

Apply foundational design principles: affordances, signifiers, constraints, feedback, and conceptual models. Use when the user mentions "why is this confusing", "affordance", "error prevention", "discoverability", "human-centered design", "mental model", "mapping", "seven stages of action", "users keep making…

wondelai/skills · 132 tokens

design-sprint

Run a structured 5-day process to prototype, test, and validate product ideas with real users. Use when the user mentions "design sprint", "validate before we build", "rapid prototype", "test with users", or "should we build this". Also trigger when a team is stuck in endless debate over a high-stakes product…

wondelai/skills · 137 tokens

hooked-ux

Design habit-forming product loops using the Hook Model (Trigger, Action, Variable Reward, Investment). Use when the user mentions "users arent coming back", "habit formation", "engagement loops", "habit zone", or "the manipulation matrix". Also trigger when designing notification or re-engagement strategies, building…

wondelai/skills · 109 tokens