# First Principles Learning

> Teaches physics, engineering, maths and AI from first principles as interactive concept cards, and builds your own learning database and concept map.

First Principles Learning is a free AI agent skill on Agensi by Uzair Amin, in Prompt & Skill Engineering. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: Free
- Creator: [Uzair Amin](https://www.agensi.io/creators/uzair-amin)
- Category: [Prompt & Skill Engineering](https://www.agensi.io/skills/prompt-skill-engineering)
- Version: 1.0
- Last updated: 2026-11-18
- Security: scan passed (2026-11-18); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/first-principles-learning
- Tags: prompt-engineering, education, physics, mathematics, learning-path, ai-agents

## About this skill

Traditional learning often leaves developers with "islands" of knowledge—isolated facts that can't be applied to real-world engineering. This skill transforms the learning process into a structured, persistent database that maps concepts from first principles. It builds a personal knowledge graph of physics, mathematics, and AI topics, ensuring every new idea is anchored to what you already know.

### What it does
- **First-principles teaching** delivers detailed concept cards (10-15 minute reads) that explain the "why" behind complex topics without hand-waving.
- **Interactive visualizations** generate inline visual aids to help you mentalize abstract concepts in electronics, robotics, or AI.
- **Knowledge mapping** creates priming maps to help you visualize a topic's landscape before diving into the details.
- **Persistent storage** saves every lesson to a local Markdown database, allowing you to search, link, and review your progress.
- **Spaced repetition** tracks your learning history and presents one optional, high-impact recall question per session to strengthen retention.

### How it works
1. **Explore a field** by asking to learn a topic like "Power Electronics" or "Astrophysics" to generate a priming map of core concepts.
2. **Dive into cards** by selecting specific nodes from the map; the agent generates a first-principles lesson with embedded visuals.
3. **Manage the database** using CLI-style commands like `ld.mjs status` or `ld.mjs notebook` to see your progress and update your personal knowledge artifact.
4. **Link and grow** your learning graph by connecting new concepts to existing ones, creating a cohesive mental model rather than a list of facts.

### Frameworks & tools
Built for Claude Code or Cursor. It manages a local filesystem database in `~/.learning-database/` using a Node.js utility script (`ld.mjs`) to handle Markdown files and JSON maps.

### Why this beats prompting it yourself
Standard LLM explanations are often superficial or overly academic. This skill enforces a "first principles" constraint and maintains a persistent memory of what you have already mastered, preventing repetitive explanations and identifying gaps in your mental model.

### Use cases
- **Mastering new domains** like moving from software engineering to robotics or power electronics.
- **Debunking confusion** by getting direct, no-fluff answers to deep "why" questions about physical systems.
- **Systematic onboarding** for developers who need to understand AI or mathematics fundamentals from the ground up.

### Known limitations
Requires a local Node.js environment to run the database scripts. Mathematics is excluded by default unless specifically requested.

## How to use this skill

1. Connect your AI agent to Agensi once: add the MCP server https://mcp.agensi.io/mcp/auth and sign in with your Agensi account (OAuth, no API key). Steps for Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and other agents: https://www.agensi.io/docs/mcp-setup
2. Ask your agent: "Use the First Principles Learning skill from Agensi" and describe your task.
3. Your agent loads the skill from Agensi when it needs it. Nothing is downloaded.

## Frequently asked questions

### Which AI agents and environments are compatible with the Learning Database skill?

This skill is designed for Claude Code and Cursor. It functions as an integrated agent tool that manages a local filesystem database while providing interactive, first-principles instruction within your coding environment.

### What are the technical requirements for the local database to function?

The skill requires a local Node.js environment to execute the 'ld.mjs' utility script. It stores your knowledge graph in a dedicated directory (~/.learning-database/), so you will need standard filesystem permissions to allow the agent to read and write your Markdown files.

### How does this differ from simply asking an LLM to explain a physics or math concept?

Unlike standard prompts that offer one-off explanations, this skill maintains a persistent memory of your progress. It uses a structured 'priming map' to ensure you never learn concepts in isolation, anchoring every new lesson to your existing knowledge to prevent 'islands' of information.

### What exactly is included in the purchase of this skill?

You receive the core agent skill instructions, the 'ld.mjs' Node.js utility for database management, and a set of templates for concept cards and knowledge mapping. It also includes the logic for managing spaced-repetition questions and interactive visualization generation.

### Can I access and edit my learning data outside of the AI agent?

Yes, because the database is stored locally as Markdown and JSON, you have full ownership of the data. You can manually edit the files, link them to other personal knowledge management tools like Obsidian, or use the CLI commands to generate status reports on your learning journey.

---

Source: [Agensi](https://www.agensi.io), the marketplace of skills for AI agents. Any MCP-compatible agent (Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and more) connects at https://mcp.agensi.io/mcp/auth and signs in with an Agensi account; setup for every agent: https://www.agensi.io/docs/mcp-setup. Append .md to any skill, guide or docs address on agensi.io for its markdown version.
