First Principles Learning

    by Uzair Amin

    1

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

    Free

    Security scanned

    Works with the AI Agents you already use

    First Principles Learning

    Example session with this skill installed

    I want to understand how an inductor works from first principles. Why does it resist changes in current?

    • Read your context and instructions
    • Compiled the first principles learning

    I will explain the physical mechanism of inductance and save this to your database.

    Concept Card: Inductance and Magnetic Inertia

    When you push current through a wire, you aren't just moving charges; you are creating a magnetic field. This field represents stored energy. If you try to change the flow of current, you are trying to change the amount of energy stored in that field.

    The magnetic field "pushes back" because of Lenz's Law—a fundamental symmetry in physics. As the current increases, the expanding magnetic field induces a voltage (an electromotive force) in the opposite direction of the flow. It is exactly like trying to accelerate a heavy flywheel; the inertia of the magnetic field resists the change in velocity of the electrons.

    The First Principle: Inductance is the electrical equivalent of mass. Just as a mass resists a change in velocity, an inductor resists a change in current.

    <!-- widget -->
    {
      "type": "vector-field-animation",
    

    "concept": "Magnetic field expansion around a wire",
    "parameters": { "current_gradient": "increasing" }

    }
    <!-- /widget -->
    

    Learning Database Update

    • Status: Card saved to ~/.learning-database/inbox/inductance.md
    • Group: Electromagnetism
    • Links: Builds on "Magnetic Fields"; Leads to "Transformers"
    • Notebook: Updated at index.html#inductance

    Next steps

    1. Review the priming map for "Analog Design" to see how inductors fit into filter circuits.
    2. Ask "show me the maths" to derive the voltage-current relationship (V = L di/dt).
    3. Optional: How does the energy storage in an inductor differ from a capacitor?

    Connects securely to your tools. The creator never sees your data.

    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

    1. 1

      Connect your agent to the Agensi MCP

      Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup

    2. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 3

      Ask for what you need

      Your agent loads this skill and uses it on your task. It always asks before buying a skill.

    Reviews

    No reviews yet

    Be one of the first to try it. Every listed skill goes through the trust checks below.

    Security scanned

    Checked by our 8-point scan before listing

    Fresh listing

    Recently published to Agensi

    Free to use

    No account required to browse

    Trust & safety

    Security scan

    Security scan passed 16 days ago

    • Free with an Agensi account

    Permissions

    Read Files
    Write Files
    Listed16 days ago

    What's inside

    Creator

    Uzair Amin

    Uzair Amin

    Frequently Asked Questions

    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.

    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.

    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.

    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.

    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.

    New in Prompt & Skill Engineering

    Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Prompt & Skill Engineering.

    Free