principle-foundational-thinking

principle-foundational-thinking is a skill for Claude Code from watt-mind/factory. It costs 32 tokens per session (147 once invoked), scanned A, original, Apache-2.0.

A planning rule to define data shapes, ownership, inputs, and outputs before writing control flow. It also asks what concurrent work may share before choosing where state belongs.

In plain words
What is it for?
Use it when choosing types and data structures, setting up a project scaffold, designing shared state, or deciding the order of implementation work.
Why use it?
It prevents features from being built on unclear schemas or ownership boundaries. A test harness or boundary parser established first gives later code a stable base.

Skill for Claude Code

Written for Claude Code: disable-model-invocation in frontmatter.

Part of the core plugin — 38 skills, 22 commands, 5 agents, 1 hook shipped together

Good fit Use it when choosing types and data structures, setting up a project scaffold, designing shared state, or deciding the order of implementation work.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/watt-mind/factory/principle-foundational-thinking
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 watt-mind/factory --skill principle-foundational-thinking
Clone the repo
git clone --depth 1 https://github.com/watt-mind/factory

Made for: Claude Code.

Or install core, the plugin that ships this one along with the rest of its 38 skills, 22 commands, 5 agents, 1 hook.

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 principle-foundational-thinking

README.md
[![agentmods](https://agentmods.dev/badge/skills/watt-mind/factory/principle-foundational-thinking/github.svg)](https://agentmods.dev/skills/watt-mind/factory/principle-foundational-thinking)
Your own site
<a href="https://agentmods.dev/skills/watt-mind/factory/principle-foundational-thinking"><img src="https://agentmods.dev/badge/skills/watt-mind/factory/principle-foundational-thinking/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 principle-foundational-thinking

Your own site · 80×15
<a href="https://agentmods.dev/skills/watt-mind/factory/principle-foundational-thinking"><img src="https://agentmods.dev/badge/skills/watt-mind/factory/principle-foundational-thinking.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 32 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 147 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.00032 $0.00147
Opus 5.5 $0.00013 $0.00059
Sonnet 5.5 $0.00006 $0.00029
Haiku 4.5 $0.00003 $0.00015

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

Security

Grade A, and why

principle-foundational-thinking 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 15d 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/core/skills/principle-foundational-thinking/SKILL.md · 14 lines

What it actually says

Foundational Thinking

Get the data structures and ownership boundaries right before writing control flow so downstream code becomes obvious.

  1. Name the data shape first. Identify the canonical state, inputs, and outputs before writing handlers or helpers.
  2. Sequence scaffold before features. Establish the schema, boundary parser, or test harness before layering features on top.
  3. Check concurrency early. Ask what concurrent worktrees, tabs, cron jobs, or actors share before choosing where state lives.
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. 15d ago First seen · 14 lines · 32 tokens per session scan A 18a437f1c507

Subscribe to this mod's changes

principle-foundational-thinking is a skill published in the GitHub repository watt-mind/factory (24 stars, last pushed yesterday), licensed Apache-2.0. It adds 32 tokens to every session and 147 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-11-16.

Related

principle-foundational-thinking compared with skills from other repositories

principle-foundational-thinking next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
principle-foundational-thinkingwatt-mind/factorySkill24yesterdayApache-2.0A32Claude Code
atelierduanecilliers/atelierSkill63mo agononeA87Claude Code
paperclip-create-agentpaperclipai/paperclipSkill118ktodayMITA44Claude Code, Codex
agent-crdt-synchronizerruvnet/rufloSkill83ktodayMITA25Claude Code
ramppaperclipai/paperclipSkill118ktodayMITA35Claude Code, Codex
agent-topology-optimizerruvnet/rufloSkill83ktodayMITA21Claude Code
agent-repo-architectruvnet/rufloSkill83ktodayMITA21Claude Code