
First principles
Turns a vague problem into an agreed frame through a source-checked interview
First principles is an open-source agent skill for productivity. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.
- Scripts
- None
- Platforms
- Claude Code, Codex, Cursor
- GitHub stars
- 10
- Last commit
- License
- MIT
- Listing updated
Similar skills
About First principles
This skill has the agent slow down before any planning starts. It separates the proposed solution from the people who benefit, the outcome they want and what success would look like, then checks factual premises against connected documents, records or code and against current primary web sources. Claims are labeled as sourced, user-reported, assumptions or inferences, so the agent does not treat its own memory as proof.
The interview runs one short question at a time, and only when the answer could change the outcome, a real constraint or the next step. The agent tests the most consequential assumption, updates the frame after each reply and drops conclusions that depended on a premise the user corrected. It stops once outcome, constraints and key uncertainties are explicit, even if design choices remain open.
The result is a short summary with labeled sections for outcome, facts, constraints, assumptions and unknowns, plus one proposed next step. The skill has no scripts and needs no special tools beyond whatever search or file access the agent already has. It deliberately does not produce an implementation plan or change project files.
When your agent uses it
Clarify a problem before planning through a brief, source-backed interview. Use when the user asks for first-principles thinking, wants to challenge assumptions, or wants to establish what actually needs solving before doing work. Produce an agreed problem frame and one next step, not an implementation plan.
From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.
What it can access
From a static check of its 1 file (3 KB) on GitHub on 3 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.
Check another skill before you install it.
Install
Copy the skill folder to ~/.claude/skills/first-principles to use it in all your projects:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ccomkhj/skills.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/first-principles &&
cp -R "$tmp/first-principles" ~/.claude/skills/first-principles &&
rm -rf "$tmp"For one project only, put the folder in .claude/skills/first-principles inside it instead.
Copy the skill folder to ~/.agents/skills/first-principles to use it in every repository:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ccomkhj/skills.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/first-principles &&
cp -R "$tmp/first-principles" ~/.agents/skills/first-principles &&
rm -rf "$tmp"For one repository only, put the folder in .agents/skills/first-principles inside it instead.
Copy the skill folder to ~/.cursor/skills/first-principles to use it in every project:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ccomkhj/skills.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/first-principles &&
cp -R "$tmp/first-principles" ~/.cursor/skills/first-principles &&
rm -rf "$tmp"For one project only, put the folder in .cursor/skills/first-principles inside it instead.
Run in a terminal (add --scope workspace to install it for the current workspace only):
gemini skills install https://github.com/ccomkhj/skills.git --path first-principlesOr copy the folder to ~/.gemini/skills/first-principles yourself.
For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/first-principles:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ccomkhj/skills.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/first-principles &&
cp -R "$tmp/first-principles" ~/.copilot/skills/first-principles &&
rm -rf "$tmp"For one project only, put the folder in .github/skills/first-principles inside it instead.
Get the folder:
git clone --depth 1 https://github.com/ccomkhj/skills.gitThen copy skills/first-principles into your agent's skills folder as first-principles. Agents that support SKILL.md read one folder per skill.
What it does
- Problem framing interview
- Asks one focused question per turn to separate the proposed solution from the desired outcome and its beneficiary.
- Source-backed fact checking
- Checks internal claims against connected documents or code and external claims against current primary web sources.
- Assumption testing
- Examines the most consequential assumption, what would disprove it, and how the plan would change without it.
- Evidence labeling
- Marks each claim as sourced, user-reported, assumption, unknown or inference so unsupported premises stay visible.
- Structured problem summary
- Returns a brief summary of outcome, facts, constraints, assumptions and a single proposed next step for confirmation.
Good for
- Clarify what a feature request actually needs before anyone starts building it
- Challenge the assumptions behind a proposed technical approach
- Check whether claims about a product or market hold up against current sources
- Agree on a problem statement and one next test before planning work
- Separate hard constraints from inherited team conventions
First principles FAQ
When does First principles trigger?
It is meant for requests for first-principles thinking, for challenging assumptions, or for establishing what needs solving before any work begins.
Does First principles produce an implementation plan?
No. It produces an agreed problem frame and one proposed next step, and it does not execute that step or modify project files.
Does First principles need scripts or special tools?
The skill ships no scripts. It relies on the agent's ability to read existing context and search sources, and it lists no required tools.
How do I install First principles in Claude Code?
Copy the skill folder from GitHub to ~/.claude/skills/first-principles to use it in all your projects, or to .claude/skills/first-principles in one project.
Does First principles run scripts?
No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.
Which AI agents can use First principles?
Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.
What are the best alternatives to First principles?
The closest alternatives to First principles are Problem solver, Prd v01 problem framing, Working backwards, Requirements elicitation and Strategic reasoning.
Where this comes from
- Description: from the skill's own SKILL.md.
More from ccomkhj/skills

Audits AGENTS.md project memory files and proposes targeted, approved updates
- Open source
- 10 GitHub stars
- Developer tools

Builds interactive HTML lessons that teach AI, ML or science concepts through worked cases
- Open source
- 10 GitHub stars
- Education and exam prep

Runs a project and builds an interactive walkthrough from what actually executed
- Open source
- 10 GitHub stars
- Developer tools

Turns a clear improvement target into a measurable Claude Code /goal condition
- Open source
- 10 GitHub stars
- Developer tools

Races Claude against Codex in separate git worktrees until a measurable goal is met
- Open source
- 10 GitHub stars
- Developer tools

Runs a per-turn race between two coding agents and keeps the better diff
- Open source
- 10 GitHub stars
- Developer tools



