Getting it into your agent
It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.
git clone --depth 1 https://github.com/athola/claude-night-marketnpx agentmods add skills/athola/claude-night-market/opencode-delegationWrote 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/athola/claude-night-market/opencode-delegation)<a href="https://agentmods.dev/skills/athola/claude-night-market/opencode-delegation"><img src="https://agentmods.dev/badge/skills/athola/claude-night-market/opencode-delegation/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/athola/claude-night-market/opencode-delegation"><img src="https://agentmods.dev/badge/skills/athola/claude-night-market/opencode-delegation.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector warn
SkillSpector: 1 finding, up to medium
These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →
- medium System Prompt Leakage · line 97 Skill contains patterns that could indirectly extract system prompts through rephrasing, translation, summarization, or side-channel techniques.Fix: Guard against indirect extraction by refusing to summarize, translate, or rephrase system instructions. Add explicit anti-extraction clauses.
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.00038 | $0.00956 |
| Opus 5.5 | $0.00015 | $0.00382 |
| Sonnet 5.5 | $0.00008 | $0.00191 |
| Haiku 4.5 | $0.00004 | $0.00096 |
Grade A, and why
opencode-delegation 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.
How it starts
The opening of the file, as written. The whole thing — 136 lines — stays where its author put it; the contents beside it link to each section on GitHub.
OpenCode Delegation
Overview
OpenCode is an open-source, provider-agnostic terminal agent published
as npm opencode-ai. Its scripting entry point is opencode run,
which takes the prompt as positional arguments.
Being provider-agnostic makes it the most flexible entry in the registry: the model behind it is whatever the local OpenCode config selects, including a local one.
When To Use
delegation-coreselectedopencodefor the task- A provider the registry does not model directly is wanted, and OpenCode already has it configured
- A local or self-hosted model should serve the request
When NOT To Use
- No provider credentials are configured.
opencode auth listshows what is present - A specific model must be pinned from this side. Model choice belongs to OpenCode's own config, not to the delegation call
Prerequisites
Installation
npm install -g opencode-ai@latest
Homebrew, pnpm, bun, scoop and chocolatey are also documented upstream.
Authentication
Credentials resolve per provider through environment variables such as
ANTHROPIC_API_KEY or OPENAI_API_KEY, through a .env file, or
through opencode auth login. Stored credentials are written to
~/.local/share/opencode/auth.json, and the config file supports
{env:VARIABLE_NAME} interpolation.
Verification runs opencode auth list, because there is no single
variable to check when the provider set is open-ended.
Quick Start
Using the shared delegation executor
uv run python scripts/delegation_executor.py opencode "Find the bug" \
--files src/
Through the Makefile
make -C plugins/conjure delegate-opencode PROMPT='Find the bug'
Direct CLI usage
opencode run "Explain the use of context in this package"
Smart Delegation
opencode declares the code_execution strength and ranks last among
the network providers in the candidate order, ahead only of the local
glimmer service. It declares no model ids, since model choice
belongs to OpenCode's own configuration.
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.
- 1mo ago Changed · -11 lines 347ec5a96edc
- 2mo ago First seen · 147 lines · 38 tokens per session scan A cbaf7d484fd9
opencode-delegation is a skill published in the GitHub repository athola/claude-night-market (347 stars, last pushed today), licensed MIT. It adds 38 tokens to every session and 956 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-09-03.
Other skills, from other repositories
ui-ux-pro-max
UI/UX design intelligence expert for web and mobile applications. Use when designing interfaces, selecting color palettes, typography, visual styles, building landing pages, dashboards, or reviewing code for UX issues. Covers 50+ design styles, 97 color palettes, 57 font pairings, 99 UX guidelines, 25 chart types…
deep-research-agent
Comprehensive research agent for in-depth investigation. Use when users ask for deep research, comprehensive analysis, market research, academic surveys, competitive analysis, technology trends, or any topic requiring 100+ source verification. Triggers on requests like "investigate", "research", "analyze", "create a…
web-scraper
Scrape, crawl, and extract data from websites. Use when users ask to scrape web pages, extract content, crawl websites, or collect data from the internet.
plan-protocol
Guidelines for creating and managing implementation plans with citations.
plan-review
Criteria for reviewing implementation plans against quality standards.
soloncode-skin-skill
A tool that packages a visual theme for SolonCode Web UI as an installable ZIP file. SolonCode is a web-based coding interface, and a skin changes its colors, backgrounds, and overall appearance.