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.
npx skills add paruff/uFawkesAI --skill unit-mockinggit clone --depth 1 https://github.com/paruff/uFawkesAIWrote 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/skills/paruff/ufawkesai/unit-mocking)<a href="https://agentmods.dev/skills/paruff/ufawkesai/unit-mocking"><img src="https://agentmods.dev/badge/skills/paruff/ufawkesai/unit-mocking/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/skills/paruff/ufawkesai/unit-mocking"><img src="https://agentmods.dev/badge/skills/paruff/ufawkesai/unit-mocking.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.00042 | $0.00528 |
| Opus 5 | $0.00021 | $0.00264 |
| Sonnet 5 | $0.00008 | $0.00106 |
| Haiku 4.5 | $0.00004 | $0.00053 |
Grade A, and why
unit-mocking-isolation 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 8d 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.
What it actually says
Skill: Unit Mocking & Isolation
Load trigger:
"load unit-mocking-isolation skill"> DORA: Cap 5 (Operational Resilience) Token cost: Low
Purpose
Isolate OBS and PIPE logic from external systems to ensure deterministic, fast tests.
Responsibilities
- Mock Git operations
- Mock registry interactions
- Mock filesystem operations
- Mock Kubernetes API calls
- Mock network requests
Inputs
- Mock definitions
- Unit test files
Outputs
mock-report.json
Mock Targets
| Target | Tool | Use When |
|---|---|---|
| Git operations | ts-mockito |
Testing commit, push, pull |
| Registry | nock |
Testing image pull, push |
| Filesystem | jest.mock('fs') |
Testing file read/write |
| K8s API | nock |
Testing pod, deployment operations |
| HTTP | nock |
Testing API calls |
Mock Validation Rules
- Zero real network calls
- Zero real filesystem writes
- All mocks validated
- Mock cleanup after each test
- No mock leaks between tests
Mock Example
// Mock Git operations
const mockGit = mock<GitClient>();
when(mockGit.commit(anything())).thenResolve({ sha: "abc123" });
// Mock registry
nock("https://registry.example.com")
.get("/v2/my-app/manifests/latest")
.reply(200, manifest);
Output Format
{
"skill": "unit-mocking-isolation",
"status": "pass | fail",
"mocks_used": 8,
"real_network_calls": 0,
"real_fs_writes": 0,
"mock_validations": "all_pass"
}
Success Criteria
- Zero real network calls
- Zero real filesystem writes
- All mocks validated
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.
- 8d ago First seen · 86 lines · 42 tokens per session scan A 1009ed4f4cb9
unit-mocking-isolation is a skill published in the GitHub repository paruff/uFawkesAI (2 stars, last pushed 19d ago), licensed MIT. It adds 42 tokens to every session and 528 once invoked, about $0.0002 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-09-03.
Other skills, from other repositories
template-formal
Strongly-typed multiagent ant-robot colony exemplar — ADTs, session-typed protocols, affine-discipline resource handles, storage-as-functor framing, Active-Inference-flavored decision loop, mypy-as-oracle negative controls.
template-test-creation
Create pytest suites under the no-mocks policy — real data, temp files, subprocess, pytest-httpserver. USE WHEN adding tests, raising coverage, testing new src/ module, or user forbids mocks.
migrate-to-shoehorn
Migrate test files from as type assertions to @total-typescript/shoehorn. Use when user mentions shoehorn, wants to replace as in tests, or needs partial test data.
template-code-project
Code-centric optimization research exemplar — gradient descent, convergence analysis, automated figures, dashboard, and publication-quality PDF.
web3-testing
Test smart contracts comprehensively using Hardhat and Foundry with unit tests, integration tests, and mainnet forking. Use when testing Solidity contracts, setting up blockchain test suites, or validating DeFi protocols.
temporal-python-testing
Test Temporal workflows with pytest, time-skipping, and mocking strategies. Covers unit testing, integration testing, replay testing, and local development setup. Use when implementing Temporal workflow tests or debugging test failures.