dunx: Skill for Claude Code

.claude/skills/spike/SKILL.md

spike is a skill for Claude Code from petarzarkov/dunx. It costs 80 tokens per session (712 once invoked), scanned A, original, MIT.

A measured investigation used to answer an open technical question before a design depends on it. The result is recorded as a verified constraint in the project architecture documentation.

In plain words
What is it for?
Testing questions about APIs, decorators, types, inheritance, or other runtime behaviour using temporary probes, then documenting the result.
Why use it?
It replaces assumptions about Bun or TypeScript behaviour with results from a real runtime and compiler check.

Skill for Claude Code

Written for Claude Code: installed under .claude/. Also seen: mentions subagents.

This is petarzarkov/dunx's own configuration. It tells Claude Code how to work on dunx itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything dunx configures →

Reuse

Borrowing it

Nothing to install: this file belongs to petarzarkov/dunx. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/petarzarkov/dunx/main/.claude/skills/spike/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/petarzarkov/dunx

Made for: Claude Code.

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 spike

README.md
[![agentmods](https://agentmods.dev/badge/skills/petarzarkov/dunx/spike/github.svg)](https://agentmods.dev/skills/petarzarkov/dunx/spike)
Your own site
<a href="https://agentmods.dev/skills/petarzarkov/dunx/spike"><img src="https://agentmods.dev/badge/skills/petarzarkov/dunx/spike/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 spike

Your own site · 80×15
<a href="https://agentmods.dev/skills/petarzarkov/dunx/spike"><img src="https://agentmods.dev/badge/skills/petarzarkov/dunx/spike.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 80 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 712 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00080 $0.00712
Opus 5.5 $0.00032 $0.00285
Sonnet 5.5 $0.00016 $0.00142
Haiku 4.5 $0.00008 $0.00071

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

Security

Grade A, and why

spike 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 1mo 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.

.claude/skills/spike/SKILL.md · 51 lines

How it starts

The opening of the file, as written. The whole thing — 51 lines — stays where its author put it; the contents beside it link to each section on GitHub.

/spike

An entry in docs/architecture/constraints.md cites the probe or type-check output it rests on, which is why the decisions built on it hold. A spike adds entries of that kind. Open questions live in the Open items section of docs/ROADMAP.md, one file each under internal/notes/roadmap/.

Procedure

  1. State the question as a falsifiable claim and name what it gates, for example "does @Post(path, { body: Schema }) constrain the method signature through the method decorator's generic?" gates the typed-input API.
  2. Write a throwaway probe in the scratchpad directory, never under packages/ or examples/. It is not code that ships and it must not reach a commit, a coverage run, or a build.
  3. Run it on real Bun and record bun --version alongside the output. A type-level question runs through the repo's tsc instead; record its version.
  4. Delegate the probing when it is noisy or wide. Give a subagent the claim and the probe location; ask back for the literal command, the literal output, and a one-line verdict. Iterating a decorator probe through six type errors is exactly the kind of output that should never enter the main thread.
  5. Record the result in docs/architecture/constraints.md, under the topic it belongs to:
    • confirmed → an entry with the command, the Bun version, and the literal output in a fenced block. Match the existing terseness - the paramtypes: [ "Db", "Object", "Number" ] entry is the model.
    • refuted → write down the fallback and why, under the decision it affects. A rejected approach recorded is the whole point of that document.
    • If the question came from an Open items row in docs/ROADMAP.md, update its file under internal/notes/roadmap/, or delete it and the row when the spike settles it. A resolved question left listed is worse than no list.
  6. Delete the probe.

Read the full file on GitHub · 51 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. 1mo ago Changed · +2 lines · +6 tokens per session 9d5691d51111
  2. 2mo ago First seen · 49 lines · 74 tokens per session scan A 0de155160343

Subscribe to this mod's changes

spike is a skill published in the GitHub repository petarzarkov/dunx (93 stars, last pushed today), licensed MIT. It adds 80 tokens to every session and 712 once invoked, about $0.0003 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-08-30.

Related

Other skills, from other repositories

nestjs

Use when building or structuring a NestJS backend — feature modules, providers and DI wiring, provider scopes and request-lifecycle order, where to bind guards/pipes/interceptors/filters, and testing with Test.createTestingModule. NOT a bare Express/Fastify service with no DI (that is nodejs), NOT framework-agnostic…

ericrisco/rsc-harness · 81 tokens

nestjs-expert

Expert knowledge in NestJS framework, modular architecture, dependency injection, TypeORM/Prisma persistence, microservices transports, and enterprise-grade Node.js backend development. Use when the user mentions NestJS, Nest CLI, decorators, dependency injection, guards, interceptors, or backend microservices, or…

personamanagmentlayer/pcl · 81 tokens

better-t-stack

Create or extend an end-to-end type-safe TypeScript project with Better-T-Stack (create-better-t-stack). Use when the user wants to start, scaffold or bootstrap an app, API, fullstack project or monorepo with any of Next.js, TanStack Router or Start, React Router, Nuxt, Svelte, Solid, Astro, React Native, Hono…

AmanVarshney01/create-better-t-stack · 149 tokens

build-with-opengeni

Add Opengeni agents to the user's own product, backend, website, or app with @opengeni/sdk and @opengeni/react: the packaged chat UI behind one server route, per-tenant workspaces, and the product's own tools. Also builds a small local demo web app with an Opengeni chat. Use when the user wants AI agents or an…

Cloudgeni-ai/opengeni · 126 tokens

bun

Use this skill when the user says 'bun', 'bun runtime', 'bun install', 'bun test', 'bun build', 'Bun.serve', 'bun:sqlite', 'Bun.file', 'Bun shell', 'bun --compile'. Builds TypeScript/JavaScript backends and tools on the Bun runtime: Bun.serve HTTP/WebSocket servers, bun:sqlite, file I/O, Bun Shell scripts, the…

j4flmao/agent-skills · 148 tokens

nifra

Use when writing, reviewing, or debugging code in a Nifra project (@nifrajs/ packages, nifra CLI, server()/defineContract, loaders and actions, file routes under routes/). Explains how to reach Nifra's live MCP tools so signatures come from the installed version instead of memory, and which sibling skill to load for…

nifrajs/nifra · 83 tokens