wick-code-mode

wick-code-mode is a skill for Claude Code, Codex from yogasw/wick. It costs 47 tokens per session (2,436 once invoked), scanned A, original, MIT.

A guide to running a short TypeScript or JavaScript program in a sandbox to call connectors, combine their results, and return only the useful summary. Connectors are integrations that access services such as trackers, chat rooms, or data tables.

In plain words
What is it for?
Use it for bulk ticket or row processing, calls that depend on earlier results, and workflows that need more than a few connector calls or only a filtered result.
Why use it?
Many dependent calls can create large responses and require repeated manual handling. Keeping raw results inside the script lets you loop, filter, count, compare, or join data before returning it.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it for bulk ticket or row processing, calls that depend on earlier results, and workflows that need more than a few connector calls or only a filtered result.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/yogasw/wick/wick-code-mode
Install

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.

Any agent
npx skills add yogasw/wick --skill wick-code-mode
Clone the repo
git clone --depth 1 https://github.com/yogasw/wick

Made for: Claude Code, Codex.

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 wick-code-mode

README.md
[![agentmods](https://agentmods.dev/badge/skills/yogasw/wick/wick-code-mode/github.svg)](https://agentmods.dev/skills/yogasw/wick/wick-code-mode)
Your own site
<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.

agentmods 80×15 button for wick-code-mode

Your own site · 80×15
<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>
Per session 47 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,436 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.00047 $0.02436
Opus 5.5 $0.00019 $0.00974
Sonnet 5.5 $0.00009 $0.00487
Haiku 4.5 $0.00005 $0.00244

Measured 9d ago against content hash 81a26509d069, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

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.

internal/agents/skillsync/builtin/wick-code-mode/SKILL.md · 182 lines

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 60s like any failed call: catch it, retry or skip, the run goes on. Override per call with wick.call(id, params, { timeout_ms: 45000 }), a timeout_ms field on a callMany item, or wick.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 a callMany item. Writes are never cached; entries belong to this user + session, and a hit still passes the access check. A cached call shows cached: true in calls. Off by default: only cache what may be that stale.
  • Pure helpers: atob, btoa, TextEncoder (encode → Uint8Array) and TextDecoder (utf-8).
  • input is the input argument (JSON). console.log/warn/error go to logs.
  • Top-level await and return work. Calls run as this session, with its access.

Read the full file on GitHub · 182 lines

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. 9d ago Changed · +51 lines 81a26509d069
  2. 26d ago First seen · 131 lines · 47 tokens per session scan A 5b1b4a4c9712

Subscribe to this mod's changes

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.

Related

wick-code-mode compared with skills from other repositories

wick-code-mode next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
wick-code-modeyogasw/wickSkill42d agoMITA47Claude Code, Codex
todosJetBrains/thinkrailSkill8.5kyesterdayApache-2.0A58Claude Code, Codex
omh-morning-briefrlaope/oh-my-hermesSkill6.2ktodayMITA96Claude Code, Codex
debugging-executionsn8n-io/n8nSkill212ktodaynoneA86Claude Code, Codex
suggest-automationsn8n-io/n8nSkill212ktodaynoneA87Claude Code, Codex
schedule-querychrisblattman/claudeblattmanSkill49811d agoMITA17Claude Code
research-councilchrisblattman/claudeblattmanSkill49811d agoMITA64Claude Code, Codex