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 yogasw/wick --skill wick-code-modegit clone --depth 1 https://github.com/yogasw/wickWrote 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/yogasw/wick/wick-code-mode)<a href="https://agentmods.dev/skills/yogasw/wick/wick-code-mode"><img src="https://agentmods.dev/badge/skills/yogasw/wick/wick-code-mode/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/yogasw/wick/wick-code-mode"><img src="https://agentmods.dev/badge/skills/yogasw/wick/wick-code-mode.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.00047 | $0.02436 |
| Opus 5.5 | $0.00019 | $0.00974 |
| Sonnet 5.5 | $0.00009 | $0.00487 |
| Haiku 4.5 | $0.00005 | $0.00244 |
Grade A, and why
wick-code-mode 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 9d 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 — 182 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Code Mode (wick_run_code)
A short TypeScript/JavaScript script runs in a sandbox (the codemode_goja
runner plugin) and calls connectors through wick. Raw connector output stays
inside the script; only its return value comes back to you.
When to use it
Use wick_run_code |
Use wick_execute |
|---|---|
| more than ~3 calls, or a loop over tickets / rooms / rows | one small call |
| a call that needs the previous call's result | one write you want to see on its own |
| a big response you would only filter, count, join or diff | a result you need in full |
Writing the script
Get the exact tool_ids from wick_search / wick_get. wick_get at op level
also returns ts: the ready-made call line with typed params — paste it.
// Tools
const listIssues = "conn:<id>/list_issues"; // Tracker: team board
const getIssue = "conn:<id>/get_issue"; // Tracker: team board
const list = await wick.call(listIssues, { state: "open", limit: 200 });
const stale = list.items.filter(i => Date.parse(i.updated_at) < Date.now() - 7 * 864e5);
const details = wick.callMany(stale.map(i => ({ toolId: getIssue, params: { id: i.id } })));
return { open: list.items.length, stale: details.filter(d => d.ok).map(d => d.result.title) };
- Every tool_id goes in a named constant at the top with a comment naming the connector; every tool_id written in the script is checked before the run.
await wick.call(toolId, params)returns the parsed result or throws.wick.callMany([{toolId, params}])runs in parallel and returns[{ok, toolId, result|error}].wick.tool(toolId)gives a callable.- Every call has its own deadline: 60 s by default unless the admin changed
it in the agents settings (less when the run has less left). A hung connector then throws
timed out after 60slike any failed call: catch it, retry or skip, the run goes on. Override per call withwick.call(id, params, { timeout_ms: 45000 }), atimeout_msfield on acallManyitem, orwick.tool(id)(params, { timeout_ms }); it never goes past the run's end. - Cache a read call when the same lookup repeats across runs (a user group,
a canvas, an app's config):
wick.call(id, params, { cache: 300 })keeps the answer 5 min;{ cache: { ok: 300, error: 60 } }also keeps a failure that is an answer (not found, forbidden), never a timeout, rate limit or 5xx. Max 1 h (failures 10 min). Same option on acallManyitem. Writes are never cached; entries belong to this user + session, and a hit still passes the access check. A cached call showscached: trueincalls. Off by default: only cache what may be that stale. - Pure helpers:
atob,btoa,TextEncoder(encode→Uint8Array) andTextDecoder(utf-8). inputis theinputargument (JSON).console.log/warn/errorgo tologs.- Top-level
awaitandreturnwork. Calls run as this session, with its access.
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.
- 9d ago Changed · +51 lines 81a26509d069
- 26d ago First seen · 131 lines · 47 tokens per session scan A 5b1b4a4c9712
wick-code-mode is a skill published in the GitHub repository yogasw/wick (4 stars, last pushed 2d ago), licensed MIT. It adds 47 tokens to every session and 2,436 once invoked, about $0.0002 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-11-04.
wick-code-mode compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| wick-code-modeyogasw/wick | Skill | 4 | 2d ago | MIT | A | 47 | Claude Code, Codex |
| todosJetBrains/thinkrail | Skill | 8.5k | yesterday | Apache-2.0 | A | 58 | Claude Code, Codex |
| omh-morning-briefrlaope/oh-my-hermes | Skill | 6.2k | today | MIT | A | 96 | Claude Code, Codex |
| debugging-executionsn8n-io/n8n | Skill | 212k | today | none | A | 86 | Claude Code, Codex |
| suggest-automationsn8n-io/n8n | Skill | 212k | today | none | A | 87 | Claude Code, Codex |
| schedule-querychrisblattman/claudeblattman | Skill | 498 | 11d ago | MIT | A | 17 | Claude Code |
| research-councilchrisblattman/claudeblattman | Skill | 498 | 11d ago | MIT | A | 64 | Claude Code, Codex |