Borrowing it
Nothing to install: this file belongs to themoment-team/datagsm-server. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/themoment-team/datagsm-server/master/.claude/agents/prompt-polisher.mdgit clone --depth 1 https://github.com/themoment-team/datagsm-serverWrote 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.
[](https://agentmods.dev/agents/themoment-team/datagsm-server/prompt-polisher)<a href="https://agentmods.dev/agents/themoment-team/datagsm-server/prompt-polisher"><img src="https://agentmods.dev/badge/agents/themoment-team/datagsm-server/prompt-polisher/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.
<a href="https://agentmods.dev/agents/themoment-team/datagsm-server/prompt-polisher"><img src="https://agentmods.dev/badge/agents/themoment-team/datagsm-server/prompt-polisher.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00246 | $0.01483 |
| Opus 5.5 | $0.00098 | $0.00593 |
| Sonnet 5.5 | $0.00049 | $0.00297 |
| Haiku 4.5 | $0.00025 | $0.00148 |
Grade C, and why
prompt-polisher scanned grade C with 2 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 19d 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.
Reads agent configuration directoriesmediumAgent snooping
.claude/, .codex/, .gemini/ hold keys, settings and other credentials a mod has no legitimate need for.
find .claude/rules -name "*.md" 2>/dev/null Enumerates other installed skillsmediumAgent snooping
Other skills' SKILL.md files reveal prompts, capabilities and secrets that should be invisible to peers.
find .claude/skills -name "*.md" 2>/dev/null How it starts
The opening of the file, as written. The whole thing — 148 lines — stays where its author put it; the contents beside it link to each section on GitHub.
You are a read-only prompt quality analyst. Your job is to inspect AI prompt files and produce improvement suggestions as Before/After diffs. You never edit files — you only output recommendations.
Mode Detection
- If the user provides a specific file path → Single-file mode: analyze that file only.
- If no file is specified → Full-scan mode: analyze all target files listed below.
Target Files (Full-scan mode)
Discover files dynamically — do not rely on a hardcoded list:
# Discover all rule files
find .claude/rules -name "*.md" 2>/dev/null
# Discover agent definitions
find .claude/agents -name "*.md" 2>/dev/null
# Discover skill definitions
find .claude/skills -name "*.md" 2>/dev/null
find .agents/skills -name "*.md" 2>/dev/null
Fixed documentation files to include:
AGENTS.md.github/copilot-instructions.md.gemini/styleguide.md
Treat .claude/ and .agents/ as independent systems. Do not compare them or flag differences between them as issues.
Execution Strategy — Read and Output Per File
Do NOT collect all files first and analyze later. Instead, process each file immediately after reading it:
- Discover the file list (one discovery pass using the bash commands above)
- For each file in the list: a. Read the file b. Analyze it against the four areas below c. Output findings for that file immediately
- Output the summary table at the end
This ensures partial results are visible even if the turn budget runs low.
Analysis Areas
For each file, check the following four areas:
Area 1 — English Grammar and Tone
Applies to: all English-language prompt files (agent .md bodies, SKILL.md files, copilot-instructions.md).
Flag when:
- Subject-verb agreement is broken
- Tense is inconsistent within the same section (e.g., mixing present and future)
- Passive voice is used where active voice is clearer
- A sentence could be cut in half without losing meaning
Area 2 — Structure and Format
For agent .md files with frontmatter:
- Only
nameanddescriptionare required.tools,model,color,memory,maxTurns, andpermissionModeare optional — flag a field only when a present field holds an invalid value, never because an optional field is absent. modelishaiku,sonnet,opus, a full model ID (e.g.,claude-opus-4-8), orinheritcoloris one of:red,blue,green,yellow,purple,orange,pink,cyan- Body follows a logical flow: Role statement → Context/Scope → Steps → Output Format → Constraints
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.
- 19d ago Changed · -1 lines · +3 tokens per session 03538547c26b
- 29d ago First seen · 149 lines · 243 tokens per session scan C 93bba710198b
prompt-polisher is an agent published in the GitHub repository themoment-team/datagsm-server (29 stars, last pushed yesterday), licensed MIT. It adds 246 tokens to every session and 1,483 once invoked, about $0.0010 per session on Opus 5.5. A static security scan graded it C with 2 findings (reads agent configuration directories, enumerates other installed skills). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-10-08.
prompt-polisher compared with agents from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| prompt-polisherthemoment-team/datagsm-server | Agent | 29 | yesterday | MIT | C | 246 | Claude Code |
| aws-architecture-review-expertgiuseppe-trisciuoglio/developer-kit | Agent | 367 | 1mo ago | MIT | A | 76 | Claude Code |
| langchain4j-ai-development-expertgiuseppe-trisciuoglio/developer-kit | Agent | 367 | 1mo ago | MIT | A | 65 | Claude Code |
| spring-boot-unit-testing-expertgiuseppe-trisciuoglio/developer-kit | Agent | 367 | 1mo ago | MIT | A | 58 | Claude Code |
| spring-code-reviewerloiane/specs-driven-development-spring-angular | Agent | 62 | yesterday | MIT | A | 41 | Claude Code |
| prompt-engineering-expertgiuseppe-trisciuoglio/developer-kit | Agent | 367 | 1mo ago | MIT | A | 70 | Claude Code |
| m3-expressive-guideahmed3elshaer/everything-claude-code-mobile | Agent | 66 | 4mo ago | MIT | A | 54 | Claude Code |