trove-principle-data-shape

trove-principle-data-shape is a skill for Claude Code from bravew/trove. It costs 64 tokens per session (260 once invoked), scanned A, original, MIT.

A guideline for choosing the main data structures and how data moves through a program before writing its behaviour. It also asks what concurrent parts of the system share.

In plain words
What is it for?
Use it when starting a feature, designing a data flow, choosing core types, or deciding what supporting structure should be built first.
Why use it?
Changing the data shape late can force a rewrite and can create unsafe shared state. Deciding it early makes later code simpler to change.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: installed under .agents/ (shared by several agents).

Part of the trove-workflow plugin — 24 skills shipped together

Good fit Use it when starting a feature, designing a data flow, choosing core types, or deciding what supporting structure should be built first.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/bravew/trove/trove-principle-data-shape
View source ↗ bravew/trove
Install

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.

Any agent
npx skills add bravew/trove --skill trove-principle-data-shape
Clone the repo
git clone --depth 1 https://github.com/bravew/trove

Made for: Claude Code.

Or install trove-workflow, the plugin that ships this one along with the rest of its 24 skills.

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 trove-principle-data-shape

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/bravew/trove/trove-principle-data-shape"><img src="https://agentmods.dev/badge/skills/bravew/trove/trove-principle-data-shape.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 64 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 260 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.00064 $0.00260
Opus 5.5 $0.00026 $0.00104
Sonnet 5.5 $0.00013 $0.00052
Haiku 4.5 $0.00006 $0.00026

Measured 20d ago against content hash be0446207d92, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

trove-principle-data-shape 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 20d 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.

plugins/trove-workflow/.agents/skills/trove-principle-data-shape/SKILL.md · 21 lines

What it actually says

Principle: Foundational Thinking

Get the data shape right before writing logic. Structural decisions protect option value: a data-structure change made late is a rewrite; made early it is often a one-line diff.

  • Name the core types and how data flows between them before writing behavior.
  • Scaffold-first test: does every subsequent phase benefit from this structure existing? If yes, build it first.
  • Ask what concurrent actors share before you let them share it.
  • Subtraction precedes scaffolding: remove dead weight, then build on the simpler base.

Pairs with trove-architect (sketch the shape) and trove-principle-type-discipline (make the shape honest).

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. 20d ago Changed · +3 lines be0446207d92
  2. 2mo ago First seen · 18 lines · 64 tokens per session scan A cb46afb49348

Subscribe to this mod's changes

trove-principle-data-shape is a skill published in the GitHub repository bravew/trove (11 stars, last pushed today), licensed MIT. It adds 64 tokens to every session and 260 once invoked, about $0.0003 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-11.

Related

trove-principle-data-shape compared with skills from other repositories

trove-principle-data-shape next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
trove-principle-data-shapebravew/troveSkill11todayMITA64Claude Code
mem0-oss-to-platformmem0ai/mem0Skill70k4d agoApache-2.0A217Claude Code, Codex
tao-run-inference-serviceNVIDIA/skillsSkill4.3ktodayApache-2.0A92Claude Code
azure-mgmt-botservice-dotnetmicrosoft/skillsSkill3.3ktodayMITA78Claude Code
fastapi-router-pymicrosoft/skillsSkill3.3ktodayMITA46Claude Code
dev-runtimelangwatch/langwatchSkill5.1ktodayApache-2.0A172Claude Code
api-designericrisco/rsc-harnessSkill695yesterdayMITA105Claude Code, Codex