promptscript: Agent for Claude Code

.claude/agents/prs-expert.md

prs-expert is an agent for Claude Code from mrwogu/promptscript. It costs 19 tokens per session (353 once invoked), scanned A, original, MIT.

A guide to PromptScript, a language for defining AI project instructions, reusable skills, agents, and settings.

In plain words
What is it for?
Use it to write or debug PromptScript and to create output for tools such as GitHub Copilot, Claude, and Cursor.
Why use it?
It helps explain syntax errors, compilation problems, and changes from plain Markdown to PromptScript.

Agent for Claude Code

Written for Claude Code: installed under .claude/. Also seen: model in frontmatter; mentions CLAUDE.md; mentions subagents.

This is mrwogu/promptscript's own configuration. It tells Claude Code how to work on promptscript itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything promptscript configures →

Reuse

Borrowing it

Nothing to install: this file belongs to mrwogu/promptscript. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/mrwogu/promptscript/main/.claude/agents/prs-expert.md
Clone the repo
git clone --depth 1 https://github.com/mrwogu/promptscript

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 prs-expert

README.md
[![agentmods](https://agentmods.dev/badge/agents/mrwogu/promptscript/prs-expert/github.svg)](https://agentmods.dev/agents/mrwogu/promptscript/prs-expert)
Your own site
<a href="https://agentmods.dev/agents/mrwogu/promptscript/prs-expert"><img src="https://agentmods.dev/badge/agents/mrwogu/promptscript/prs-expert/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 prs-expert

Your own site · 80×15
<a href="https://agentmods.dev/agents/mrwogu/promptscript/prs-expert"><img src="https://agentmods.dev/badge/agents/mrwogu/promptscript/prs-expert.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 19 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 353 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.00019 $0.00353
Opus 5.5 $0.00008 $0.00141
Sonnet 5.5 $0.00004 $0.00071
Haiku 4.5 $0.00002 $0.00035

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

Security

Grade A, and why

prs-expert 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.

.claude/agents/prs-expert.md · 45 lines

What it actually says

You are a PromptScript language expert.

Language Blocks

  • @meta - Project metadata (id, syntax version)
  • @identity - AI persona definition
  • @rules - Behavioral guidelines
  • @shortcuts - Command aliases with optional prompts
  • @skills - Reusable skill definitions
  • @agents - Custom subagent definitions
  • @local - Local-only configuration
  • @inherit - Single inheritance
  • @use - Multiple imports (mixins)

Registry

  • @stacks/* - Tech stack templates
  • @mixins/* - Reusable components
  • @skills/* - Skill libraries

Output Targets

Target Simple Multifile Full
github copilot-instructions.md +prompts +skills, agents
claude CLAUDE.md +rules +skills, agents
cursor .cursorrules +rules +commands

Common Tasks

  • Explain syntax errors
  • Help migrate from raw markdown
  • Recommend registry resources
  • Debug compilation issues

Reference docs at docs/reference/language.md

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 · 45 lines · 19 tokens per session scan A 9080cb916167

Subscribe to this mod's changes

prs-expert is an agent published in the GitHub repository mrwogu/promptscript (378 stars, last pushed yesterday), licensed MIT. It adds 19 tokens to every session and 353 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-08-30.

Related

Other agents, from other repositories

typescript-developer

Build type-safe applications with advanced TypeScript features, generics, and strict type checking. Specializes in enterprise TypeScript architecture and type system design. Use PROACTIVELY for complex type safety requirements.

sampleXbro/agentsmesh · 45 tokens

swiftlint-fixer

Use this agent when you need to check and fix Swift code style issues according to SwiftLint rules. Examples:\n\n \nContext: User has just written or modified Swift code and wants to ensure it follows project style guidelines.\nuser: "I just updated the ProfileViewModel.swift file. Can you check if it follows our…

carloshpdoc/ios-workflow-claude · 0 tokens

java-pro

Master modern Java with streams, concurrency, and JVM optimization. Handles Spring Boot, reactive programming, and enterprise patterns. Use PROACTIVELY for Java performance tuning, concurrent programming, or complex enterprise solutions.

echoVic/blade-code · 44 tokens

elixir-pro

Write idiomatic Elixir code with OTP patterns, supervision trees, and Phoenix LiveView. Masters concurrency, fault tolerance, and distributed systems. Use PROACTIVELY for Elixir refactoring, OTP design, or complex BEAM optimizations.

NOMARJ/sigil · 53 tokens

ruby-runtime-advisor

Advises on Ruby runtime, threading, connection-pool, and background execution tradeoffs for Rails/Grape systems.

slbug/claude-ruby-grape-rails · 29 tokens

planner

Draft lawbook change artifacts and ceremony level. Use when Cortex stage is planning. Asks clarifying questions via the coordinator; never edits src/.

esneiderbravo/speclaw · 31 tokens