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 ComeOnOliver/skillshub --skill axiom-codablegit clone --depth 1 https://github.com/ComeOnOliver/skillshubWrote 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/comeonoliver/skillshub/axiom-codable)<a href="https://agentmods.dev/skills/comeonoliver/skillshub/axiom-codable"><img src="https://agentmods.dev/badge/skills/comeonoliver/skillshub/axiom-codable/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/comeonoliver/skillshub/axiom-codable"><img src="https://agentmods.dev/badge/skills/comeonoliver/skillshub/axiom-codable.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.00059 | $0.05535 |
| Opus 5.5 | $0.00024 | $0.02214 |
| Sonnet 5.5 | $0.00012 | $0.01107 |
| Haiku 4.5 | $0.00006 | $0.00553 |
Grade A, and why
axiom-codable 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.
How it starts
The opening of the file, as written. The whole thing — 834 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Swift Codable Patterns
Comprehensive guide to Codable protocol conformance for JSON and PropertyList encoding/decoding in Swift 6.x.
Quick Reference
Decision Tree: When to Use Each Approach
Has your type...
├─ All properties Codable? → Automatic synthesis (just add `: Codable`)
├─ Property names differ from JSON keys? → CodingKeys customization
├─ Needs to exclude properties? → CodingKeys customization
├─ Enum with associated values? → Check enum synthesis patterns
├─ Needs structural transformation? → Manual implementation + bridge types
├─ Needs data not in JSON? → DecodableWithConfiguration (iOS 15+)
└─ Complex nested JSON? → Manual implementation + nested containers
Common Triggers
| Error | Solution |
|---|---|
| "Type 'X' does not conform to protocol 'Decodable'" | Ensure all stored properties are Codable |
| "No value associated with key X" | Check CodingKeys match JSON keys |
| "Expected to decode X but found Y instead" | Type mismatch; check JSON structure or use bridge type |
| "keyNotFound" | JSON missing expected key; make property optional or provide default |
| "Date parsing failed" | Configure dateDecodingStrategy on decoder |
Part 1: Automatic Synthesis
Swift automatically synthesizes Codable conformance when all stored properties are Codable.
Struct Synthesis
// ✅ Automatic synthesis
struct User: Codable {
let id: UUID // Codable
var name: String // Codable
var membershipPoints: Int // Codable
}
// JSON: {"id":"...", "name":"Alice", "membershipPoints":100}
Requirements:
- All stored properties must conform to Codable
- Properties use standard Swift types or other Codable types
- No custom initialization logic needed
Enum Synthesis Patterns
Pattern 1: Raw Value Enums
enum Direction: String, Codable {
case north, south, east, west
}
// Encodes as: "north"
The raw value itself becomes the JSON representation.
Pattern 2: Enums Without Associated Values
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 · 834 lines · 59 tokens per session scan A 585c52a2358f
axiom-codable is a skill published in the GitHub repository ComeOnOliver/skillshub (67 stars, last pushed 5mo ago), licensed MIT. It adds 59 tokens to every session and 5,535 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.
axiom-codable compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| axiom-codableComeOnOliver/skillshub | Skill | 67 | 5mo ago | MIT | A | 59 | Claude Code, Codex |
| stream-flutterGetStream/agent-skills | Skill | 21 | yesterday | Apache-2.0 | A | 215 | Claude Code |
| sf-knowledge-mobile-sdkAvinava/sf-documentation-knowledge | Skill | 4 | 2mo ago | none | A | 17 | Claude Code, Codex |
| fastapi-patternsaffaan-m/ECC | Skill | 314k | yesterday | MIT | A | 35 | Claude Code, Kiro |
| open-sourcebrowser-use/browser-use | Skill | 122k | yesterday | MIT | A | 101 | Claude Code |
| stripe-projectsNousResearch/hermes-agent | Skill | 267k | today | MIT | A | 15 | Claude Code, Codex |
| build-zoom-contact-center-appanthropics/knowledge-work-plugins | Skill | 37k | yesterday | Apache-2.0 | A | 48 | Claude Code |