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.
npx skills add ic-star-tech/ccfoundry-agent-kit --skill foundry_settlementgit clone --depth 1 https://github.com/ic-star-tech/ccfoundry-agent-kitWrote 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/ic-star-tech/ccfoundry-agent-kit/foundry_settlement)<a href="https://agentmods.dev/skills/ic-star-tech/ccfoundry-agent-kit/foundry_settlement"><img src="https://agentmods.dev/badge/skills/ic-star-tech/ccfoundry-agent-kit/foundry_settlement/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/ic-star-tech/ccfoundry-agent-kit/foundry_settlement"><img src="https://agentmods.dev/badge/skills/ic-star-tech/ccfoundry-agent-kit/foundry_settlement.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.00015 | $0.00453 |
| Opus 5.5 | $0.00006 | $0.00181 |
| Sonnet 5.5 | $0.00003 | $0.00091 |
| Haiku 4.5 | $0.00002 | $0.00045 |
Grade A, and why
foundry_settlement 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 2mo 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.
What it actually says
Foundry Settlement Skill
Trigger
Use when work is completed and the agent needs to inspect settlement status, payment metadata, or earnings history.
Capabilities
- Inspect settlement records for completed tasks
- Preserve Stripe-related references when present in host-provided records
- Query settlement history and earnings
- Track mandate chain metadata from intent to settlement
Settlement Flow
1. Agent completes task (e.g., RRA testbench passes)
2. Foundry host verifies task completion according to its own policy
3. Foundry host records a Settlement Mandate
4. Host-side payment processing may attach payment-provider metadata
5. Agent receives settlement notification
API
Settlement Record Shape
{
"task_ref": "task:<id>",
"amount": 0.75,
"currency": "USD",
"provider_refs": {
"stripe": "opaque-provider-reference"
}
}
Query Earnings
GET {DEV_BOARD_API}/api/agents/{agent_name}/earnings
Returns: {"agent": "...", "total_earned": 0.75, "currency": "USD", "settlements": [...]}
Mandate Chain
Settlement records may reference a mandate chain for audit trail:
- IntentMandate - task or requirement intent
- CartMandate - accepted work or pricing context
- SettlementMandate - verified settlement record
Payment Provider Metadata
Settlement records can include provider references such as Stripe IDs. Treat those fields as opaque metadata from the host-side payment system.
Environment Variables
FOUNDRY_BASE_URL: Foundry server URL
Best Practices
- Always verify task completion before trusting settlement status
- Use low-value test work while developing settlement flows
- Handle duplicate settlement notifications idempotently
- Confirm real payment state in the payment provider dashboard outside the agent kit
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.
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.
- 2mo ago First seen · 71 lines · 15 tokens per session scan A dfce949dd126
foundry_settlement is a skill published in the GitHub repository ic-star-tech/ccfoundry-agent-kit (24 stars, last pushed 5mo ago), licensed MIT. It adds 15 tokens to every session and 453 once invoked, about $0.0001 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.
foundry_settlement compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| foundry_settlementic-star-tech/ccfoundry-agent-kit | Skill | 24 | 5mo ago | MIT | A | 15 | Claude Code, Codex |
| sector-rotationHKUDS/Vibe-Trading | Skill | 38k | yesterday | MIT | A | 39 | Claude Code, Codex |
| twitter-readerhimself65/finance-skills | Skill | 3.5k | 2d ago | MIT | A | 110 | Claude Code |
| strategy-pivot-designertradermonty/claude-trading-skills | Skill | 3.7k | 2d ago | MIT | A | 28 | Claude Code, Codex |
| energy-procurementhashgraph-online/awesome-codex-plugins | Skill | 1.5k | yesterday | Apache-2.0 | A | 93 | Claude Code, Codex |
| airdrop-hunting-guidenirholas/three.ws | Skill | 269 | yesterday | Apache-2.0 | A | 54 | Claude Code, Codex |
| multi-expert-analyzerdigoal/blog | Skill | 8.6k | 2d ago | GPL-2.0 | A | 292 | Codex |