Getting it into your agent
This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.
/plugin marketplace add Metalnib/dotnet-episteme-skills/plugin install dotnet-episteme-skillsWrote 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/commands/metalnib/dotnet-episteme-skills/dotnet-refactor)<a href="https://agentmods.dev/commands/metalnib/dotnet-episteme-skills/dotnet-refactor"><img src="https://agentmods.dev/badge/commands/metalnib/dotnet-episteme-skills/dotnet-refactor/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/commands/metalnib/dotnet-episteme-skills/dotnet-refactor"><img src="https://agentmods.dev/badge/commands/metalnib/dotnet-episteme-skills/dotnet-refactor.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.00073 | $0.02585 |
| Opus 5 | $0.00036 | $0.01293 |
| Sonnet 5 | $0.00015 | $0.00517 |
| Haiku 4.5 | $0.00007 | $0.00259 |
Grade A, and why
dotnet-refactor 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 3d 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.
How it starts
The opening of the file, as written. The whole thing — 195 lines — stays where its author put it; the contents beside it link to each section on GitHub.
/dotnet-refactor - orchestrated design loop
You are the orchestrator. Do not enumerate or trace code yourself - dispatch session-blind workers, persist their artifacts, and hold the gates. No code is written or edited until the design is approved at the Phase D gate.
Arguments given: $ARGUMENTS
Step 0 - Resolve target and state
-
Target: a ticket id or an area description. Slug it (e.g.
yb-1234ororderservice-errors). -
State file:
--design-fileif given, else.episteme/DESIGN-<slug>.mdat the repository root (create.episteme/if missing; whether the host repo gitignores it is the user's call). -
If the file exists, route on its frontmatter - the file is the source of truth, never conversation memory. This is the context-compaction contract: after
/clear, compaction, or a fresh session, the loop continues losslessly from the file (a plugin hook re-injects it).frontmatter resume at status: donenothing to resume - say so and stop status: blockedrestate the recorded blocker, ask the user status: awaiting-approvalre-present the design, hold the Phase D gate status: activethe phase in phase: -
If not, create it:
--- target: <ticket id or area, one line> sources: <where the request came from - ticket, MR/PR review thread, QA doc, incident, probe> phase: R status: active design_revision: 0 --- ## Why ## References ## Map ## Traces ## Probes ## Design (approved) ## Decision log ## Deferred ## Todo ## Review findingsFill
WhyandReferencesbefore Phase R, while the request is still fresh. They are the only sections a later reader cannot reconstruct from the code, and atargetline is not a problem statement.Whyis prose, not a list: the defect or goal in the reader's terms, what triggered the loop, why it is worth doing now rather than later, and what breaks if nothing changes. A loop that cannot state its problem in a paragraph should not be spending a worker fan-out on a map.Referencesis a provenance table: ticket and sibling ticket ids, the review or PR threads, prior QA or design files, the contract/spec source, vendor docs or live schema fetched, probe artifacts, and the host-repo rule sections applied. Cite them as ids and paths, not as bare claims - "the reviewer asked" is unusable six weeks later.
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.
- 3d ago Changed · +18 lines 085e6c8c317d
- 12d ago First seen · 177 lines · 73 tokens per session scan A 1228a8274bd7
dotnet-refactor is a command published in the GitHub repository Metalnib/dotnet-episteme-skills (12 stars, last pushed 3d ago), licensed MIT. It adds 73 tokens to every session and 2,585 once invoked, about $0.0004 per session on Opus 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.
Other commands, from other repositories
github-profile-rules
Command "github-profile-rules" from notque/vexjoy-agent, covering github profile rules pipeline, domain, agent, skills and github-profile-rules (main orchestration).
widget-lint
Analyzes SAC custom widget code for performance issues, security concerns, and best practice violations.
api-style-review
Review SAP API style compliance for REST, OData, OpenAPI, SDK naming, documentation, and lifecycle readiness.
btp-architecture-review
Review SAP BTP architecture decisions for account model, services, security, integration, operations, and rollout readiness.
close-the-books
Run the full month-end close - entries, reconciliations, statements, review pack.
review
When reviewing the code changes, the agent should apply general best practices to ensure high code quality. Key areas of evaluation include.