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 agentmods add skills/recca0120/code-quest/fake-summoner-clientnpx skills add recca0120/code-quest --skill fake-summoner-clientgit clone --depth 1 https://github.com/recca0120/code-questWrote 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/recca0120/code-quest/fake-summoner-client)<a href="https://agentmods.dev/skills/recca0120/code-quest/fake-summoner-client"><img src="https://agentmods.dev/badge/skills/recca0120/code-quest/fake-summoner-client.svg" alt="Measured on agentmods" 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.00062 | $0.02829 |
| Opus 5 | $0.00031 | $0.01414 |
| Sonnet 5 | $0.00012 | $0.00566 |
| Haiku 4.5 | $0.00006 | $0.00283 |
Grade A, and why
fake-summoner-client 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 5d 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 — 279 lines — stays where its author put it; the contents beside it link to each section on GitHub.
FakeSummoner — Client Tests
核心概念
Client 端 FakeSummoner 繼承 server 基礎版 + 加上 TypedSocket 型別。搭配兩個 render helper:
renderWithWorkspace— 完整 workspace,適合 多 tab / workspace-level 測試renderWithChannel— 單一 channel 包好,適合 component / context / hook 測試
React 互動必須在 act() 裡 flush。
Import 來源
| 東西 | 從哪 import |
|---|---|
renderWithChannel / renderWithWorkspace |
@/test/render-with-channel / @/test/render-with-workspace |
createFakeSummoner / FakeSummoner |
@/test/fake-summoner(含 TypedSocket 強型別) |
createFakeServer |
@code-quest/server/test |
segments as s / controlRequest* |
@code-quest/summoner/test |
sendUserMessage / emitAssistantTurn |
@/test/helpers |
renderWithChannel — 最常用
自動包 SocketProvider → SessionProvider → ... → TabProvider → ChannelProvider,並跑 claude.initialize()。
import { renderWithChannel } from '@/test/render-with-channel';
import { segments as s } from '@code-quest/summoner/test';
const { claude, channelId, user } = await renderWithChannel(<ChatPanel />);
await user.type(screen.getByPlaceholderText(/Esc to focus/i), 'hello{Enter}');
await act(async () => {
await claude.emitSegment(s.assistant('Hi back'));
await claude.emitSegment(s.result());
});
expect(screen.getByText('Hi back')).toBeInTheDocument();
選項
await renderWithChannel(<MyComponent />, {
channelId: 'ch-test',
skipInit: false, // false = 自動 initialize
extraSegments: [ // 額外 init-time segments
s.controlResponse('init', { models: [{ value: 'opus-4-6' }] }),
],
initialState: { // ChannelProvider 的 initial state 注入
pendingControls: [{ requestId: 'r1', subtype: 'can_use_tool', toolName: 'Bash' }],
},
launchOnMount: false, // true = React 驅動 session:launch
cwd: '/test/cwd',
});
skipInit: true 用於外部控制啟動流程(搭配 cwd prop)。
renderWithWorkspace — 多 session 測試
整個 WorkspaceLayout 入口(含 project list / tab bar)。
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.
- 5d ago First seen · 279 lines · 62 tokens per session scan A d4c06394fe5a
fake-summoner-client is a skill published in the GitHub repository recca0120/code-quest (11 stars, last pushed 2mo ago), licensed MIT. It adds 62 tokens to every session and 2,829 once invoked, about $0.0003 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 skills, from other repositories
react-native-testing
Write tests using React Native Testing Library (RNTL) v13 and v14 (@testing-library/react-native). Use when writing, reviewing, or fixing React Native component tests. Covers: render, screen, queries (getBy/getAllBy/queryBy/findBy), Jest matchers, userEvent, fireEvent, waitFor, and async patterns. Supports v13 (React…
hook-test
Write and run jest tests for a hook in @reactuses/core, following the repo's conventions (co-located index.spec.ts, renderHook/act, fake timers, the .test/ helpers, and the SSR jest-environment pragma). Triggers on "write a test", "add test coverage", "fix the failing test", or "test this hook".
react-testing
Write and review React/TypeScript tests for Sentry's frontend using Jest and React Testing Library. Use when adding or editing tests in static/ (.spec.tsx), writing component/hook tests, mocking API responses with MockApiClient, testing routing or network requests, or when asked to "write a frontend test", "add a…
authoring-data-quality-checks
Adds and runs data quality checks (dbt-test style assertions) on a project's warehouse tables and saved-query views: not-null, uniqueness, accepted values, referential integrity, row-count bounds, freshness, and custom HogQL. Use when asked to test a model, validate a view, check for nulls or duplicates, add data…
frontend-testing
Generate Vitest + React Testing Library tests for frontend components, hooks, and utilities. Triggers on testing, spec files, coverage, Vitest, RTL, unit tests, integration tests, or write/review test requests.
writing-unit-tests
Guidelines for writing unit tests in the Hex1b TUI library. Use when creating new tests for widgets, nodes, or terminal functionality.