investment-decision

investment-decision is a skill for Claude Code, Codex from KCNyu/clawock. It costs 62 tokens per session (2,811 once invoked), scanned A, original, MIT.

A clawock workflow in which an agent researches an investment question and records the result in decision.json. Python then validates the evidence, bull and bear cases, links, and financial calculations.

In plain words
What is it for?
Use it for an investment decision or an existing clawock run request. It guides research, an explicit argument for and against the investment, and a limited proposed action.
Why use it?
It separates research and judgment from mechanical checking, reducing missed evidence, unsupported conclusions, and calculation errors.

Skill for Claude CodeCodex

Which agent this was written for is unclear — built for openclaw. Also seen: mentions Claude Code; mentions AGENTS.md; mentions Codex.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is --request ./book/.clawock/work/<run_id>/request.json \.

Good fit Use it for an investment decision or an existing clawock run request. It guides research, an explicit argument for and against the investment, and a limited proposed action.

Compare 6 skills from other repositories ↓
Install

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.

Clone the repo
git clone --depth 1 https://github.com/KCNyu/clawock
agentmods
npx agentmods add skills/kcnyu/clawock/investment-decision

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 investment-decision

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/kcnyu/clawock/investment-decision"><img src="https://agentmods.dev/badge/skills/kcnyu/clawock/investment-decision.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 62 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,811 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 warn 7 Sept 2026
SkillSpector: 1 finding, up to high

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 →

  • high Data Exfiltration · line 212
    Code or instructions that leak agent conversation context to external services, potentially exposing sensitive user interactions.
    Fix: Remove any code that sends prompts, responses, or session data externally. Preserve user privacy; never exfiltrate conversation content.
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.00062 $0.02811
Opus 5 $0.00031 $0.01406
Sonnet 5 $0.00012 $0.00562
Haiku 4.5 $0.00006 $0.00281

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

Security

Grade A, and why

investment-decision 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 12d 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.

examples/dsh/packages/clawock-dsh/skills/investment-decision/SKILL.md · 247 lines

How it starts

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

clawock investment-decision

You are the model side of a clawock decision run. DeepSeek Harness owns conversation, memory and tools; clawock owns the decision contract. Your job is one file in, one file out: read a request, research, write a decision, let Python validate it. The model can never grade itself.

prepare ──► request.json ──► you: research + write decision.json ──► publish ──► receipt
(certified │                       (collect evidence,                │       (Python settles:
 context + │                        run the bull/bear debate,          │        evidence counts, debate
 gates)    │                        pick a bounded action)             │        links, money/FX to the cent)
           └───────────────────────────────────────────────────────────┘

Prerequisites

clawock must be installed (Python ≥ 3.11):

python -m pip install clawock

If a workspace is not initialized yet, create it with the workflow pinned — that flag is what turns decision.json into the enforced contract:

clawock init ./book --workflow investment-decision
clawock workflow install investment-decision --workspace ./book

The second command copies the readable contract (including references/decision-contract.md and the JSON Schema) into ./book/.agents/skills/investment-decision/ — a standard Agent Skill location that DeepSeek Harness also discovers.

The loop

1. Prepare

clawock run prepare --workspace ./book

Read the emitted request file (the request_file path printed on stdout, e.g. .clawock/work/<run_id>/request.json). It contains:

  • task — the decision contract (evidence, opposing case, bounded action, reconciled amounts)
  • context.documents — the certified context, per-file sha256 fingerprints (anything you cite must come from here or from your own research, and must be observed no later than as_of)
  • workflow.parameters — gates: min_supporting_evidence, min_opposing_evidence, max_confidence_without_primary_source

Read the full file on GitHub · 247 lines

Files

What ships with it

3 files 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. 12d ago First seen · 247 lines · 62 tokens per session scan A f9f661d9d96f

Subscribe to this mod's changes

investment-decision is a skill published in the GitHub repository KCNyu/clawock (14 stars, last pushed today), licensed MIT. It adds 62 tokens to every session and 2,811 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-30.

Related

Other skills, from other repositories

tushare

A Python interface to Tushare, a financial-data service providing market, company, fund, futures, and other finance-related data. It shows how to authenticate and query the service into pandas tables.

skloxo/TideTrading · 79 tokens

credit-analysis

A framework for analysing bonds and other fixed-income investments, including issuer credit quality, interest-rate sensitivity, credit spreads, and default risk. A credit rating estimates how likely an issuer or specific bond is to repay its debt.

skloxo/TideTrading · 36 tokens

financial-expense-automation

An expense-receipt workflow that reads PDF and image attachments, extracts their details, checks whether they are valid expense receipts, and records them in Feishu Bitable, a cloud table service.

DjangoPeng/agentic-ai · 100 tokens

vibe-trading

Professional finance research toolkit — backtesting (7 engines + benchmark comparison panel), factor analysis, Alpha Zoo (452 pre-built alphas across qlib158/alpha101/gtja191/academic), options pricing, 79 finance skills, 29 multi-agent swarm teams, Trade Journal analyzer, and Shadow Account (extract → backtest →…

skloxo/TideTrading · 139 tokens

quant-statistics

Quantitative statistical methods: ADF unit-root / cointegration tests, GARCH volatility modeling, regression diagnostics (heteroskedasticity / autocorrelation), Bootstrap, and hypothesis testing.

skloxo/TideTrading · 41 tokens

crypto-monitor

A scheduled cryptocurrency price checker that uses CoinGecko, a service providing market data. It tracks Bitcoin, Ethereum, and Litecoin in US dollars and Chinese yuan, including their change over the past 24 hours.

DjangoPeng/agentic-ai · 121 tokens