canary: Skill for Claude Code

.agents/skills/canary-harness/SKILL.md

canary-harness is a skill for Claude Code, Codex from osauer/canary. It costs 58 tokens per session (487 once invoked), scanned A, original, MIT.

A repository-local toolkit for investigating Interactive Brokers accounts, markets, trading rules, proposals, opportunities, and orders while building a trading harness. It separates read-only checks from explicitly approved broker changes.

In plain words
What is it for?
It helps developers inspect account and position data, check market and order status, review trading readiness and rules, investigate opportunities, and produce reproducible CLI diagnostics.
Why use it?
It reduces the risk of treating missing, delayed, or frozen data as current, and helps keep broker actions controlled and traceable. It also clarifies that local order history is not a complete broker record.

Skill for Claude CodeCodex

Written for Claude Code and Codex: shipped in a Claude Code plugin, but also agents/openai.yaml present. Also seen: installed under .agents/ (shared by several agents); mentions AGENTS.md.

This is osauer/canary's own configuration. It tells Claude Code and Codex how to work on canary 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 canary configures →

Part of the canary plugin — 3 skills, 2 hooks, 1 MCP server shipped together

Reuse

Borrowing it

Nothing to install: this file belongs to osauer/canary. 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/osauer/canary/main/.agents/skills/canary-harness/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/osauer/canary

Made for: Claude Code, Codex.

Or install canary, the plugin that ships this one along with the rest of its 3 skills, 2 hooks, 1 MCP server.

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 canary-harness

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/osauer/canary/canary-harness"><img src="https://agentmods.dev/badge/skills/osauer/canary/canary-harness.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 58 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 487 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.00058 $0.00487
Opus 5 $0.00029 $0.00244
Sonnet 5 $0.00012 $0.00097
Haiku 4.5 $0.00006 $0.00049

Measured 3d ago against content hash b551ca4b24a8, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

canary-harness 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 3d 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.

.agents/skills/canary-harness/SKILL.md · 46 lines

What it actually says

Updated: 2026-09-05

Contract

Use the typed canary MCP tools for read-only brief, detailed regime and portfolio stress, Edge review, account, positions, rulebook, named-symbol technical, proposal, opportunity, settings, trading, health, and order-status/history work. Use canary ... --json when MCP is unavailable, a CLI-only policy/reconciliation diagnostic is required, or the project needs an exact reproducible CLI artifact.

The MCP surface cannot place, modify, cancel, exercise, liquidate, or transmit. An explicit current-turn broker-write request uses only the agent-origin gated CLI; trading readiness, route/account/client pins, preview tokens, broker WhatIf/eligibility, freeze state, journaling, and daemon authorization remain binding. A minted preview token is not submit authority. Settings/freeze changes, policy/reconciliation governance writes, and destructive daemon maintenance remain human-only.

Preserve typed evidence exactly: nil is unavailable rather than zero; report live/delayed/frozen data, freshness, stale reasons, session context, source health, and warning details when material. Local order history is intent and lifecycle evidence, not an IBKR statement or complete broker audit.

Canonical References

This is only the repo-development safety overlay. Detailed command selection, schemas, and domain authority stay in:

Project Workflow

Read the root AGENTS.md before editing. For daemon/CLI/MCP/trading semantic changes, use .agents/docs/daemon-cli-trading-contract.md. For Canary SPA changes, use .agents/docs/spa-authority-matrix.md.

After daemon or CLI edits, run the required tests and smoke tier, refresh the installed daemon, and capture redacted canary status --json plus one command that exercises the change. Report every skip and first failure explicitly.

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 3d ago Changed · +4 tokens per session b551ca4b24a8
  2. 9d ago First seen · 46 lines · 54 tokens per session scan A 80a806b742ad

Subscribe to this mod's changes

canary-harness is a skill published in the GitHub repository osauer/canary (8 stars, last pushed 2d ago), licensed MIT. It adds 58 tokens to every session and 487 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-31.

Related

Other skills, from other repositories

ibkr

Interactive Brokers — global stocks/forex/futures via a LOCAL TWS/IB Gateway, not cloud. Covers stocks, ETFs, forex, futures; account, positions, orders, quotes, history, order placement. Use when the user wants to check or trade an Interactive Brokers account (e.g. "IBKR positions", "buy 10 AAPL on IBKR paper", "my…

Starchild-ai-agent/official-skills · 102 tokens

tradingview-mcp

AI Trading Intelligence — live prices, 30+ technical indicators, backtesting (6 strategies), walk-forward overfitting detection, trade logs, equity curves, licensed news sentiment (Marketaux), and multi-market screener. Supports stocks, crypto, ETFs, indices, Turkish (BIST), and Egyptian (EGX) markets.

atilaahmettaner/tradingview-mcp · 73 tokens

jsonbill

Generate a PDF invoice/statement files from JSON via JSONBill API.

quailyquaily/mistermorph · 17 tokens

email

Search and read the user's mail through the your-mail MCP server, a read-only mirror of their IMAP accounts indexed by notmuch. Use it to find messages, read threads, summarise and triage mail, and pull details (booking references, invoices, what someone promised) into other work. It cannot send, delete, move or…

wildsurfer/your-mail-mcp · 73 tokens

tradegit

A trading journal stored in a private GitHub repository or entirely on a local computer. It records trades, imports broker statements, and calculates results such as profit and loss.

rollingSirius/TradeGit · 178 tokens

sai-perps

Query and reconcile Sai perps data across live Perp, Oracle, and SLP Vault contracts; Sai Keeper GraphQL; DexPal REST; sai-keeper Postgres; and referral records. Use for markets, open interest, fees, trades, vault health, oracle prices, REST statistics, database-backed metrics, referral ownership or history…

Unique-Divine/jiyuu · 109 tokens