build-app

build-app is a skill for Claude Code, Codex from avicorp/learning-dna-plugin. It costs 17 tokens per session (4,057 once invoked), scanned A, original, MIT.

A workflow that rebuilds the data for learning apps from saved topic notes and creates the app structure when needed.

In plain words
What is it for?
Use it to rebuild one topic or all topics, generate quiz and progress data, and set up the React-based learning app when it does not yet exist.
Why use it?
It keeps the app’s content based on the current knowledge files instead of requiring the data and interface to be built manually.

Skill for Claude CodeCodex

Part of the learning-dna plugin — 6 skills, 5 agents shipped together

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.

agentmods
npx agentmods add skills/avicorp/learning-dna-plugin/build-app
Any agent
npx skills add avicorp/learning-dna-plugin --skill build-app
Clone the repo
git clone --depth 1 https://github.com/avicorp/learning-dna-plugin

Made for: Claude Code, Codex.

Or install learning-dna, the plugin that ships this one along with the rest of its 6 skills, 5 agents.

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 build-app

README.md
[![agentmods](https://agentmods.dev/badge/skills/avicorp/learning-dna-plugin/build-app.svg)](https://agentmods.dev/skills/avicorp/learning-dna-plugin/build-app)
Your own site
<a href="https://agentmods.dev/skills/avicorp/learning-dna-plugin/build-app"><img src="https://agentmods.dev/badge/skills/avicorp/learning-dna-plugin/build-app.svg" alt="Measured on agentmods" height="20"></a>
Per session 17 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,057 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00017 $0.04057
Opus 5 $0.00009 $0.02028
Sonnet 5 $0.00003 $0.00811
Haiku 4.5 $0.00002 $0.00406

Measured 4d ago against content hash 2514c475f2b5, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

build-app 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 4d 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.

skills/build-app/SKILL.md · 307 lines

How it starts

The opening of the file, as written. The whole thing — 307 lines — stays where its author put it; the contents beside it link to each section on GitHub.

/build-app — Rebuild Learning App Data

Usage

/learning-dna:build-app — rebuild all topics /learning-dna:build-app <topic> — rebuild a specific topic

Flow

Step 1: Scan Knowledge Directory

  • Scan knowledge/ for topics with content (directories containing sources/ with markdown files)
  • If a specific topic is provided, only process that topic
  • Skip directories without source content

Step 2: Application Structure Setup

Only runs when learning-app/ does not exist. If the app already exists, skip to Step 3.

Set up the foundational project before any components are built:

  1. Initialize a React 19 + TypeScript + Vite 6 + Tailwind CSS 4 project in learning-app/
  2. Add Mermaid 11 for diagram rendering and React Router for routing
  3. Create the full directory structure:
    learning-app/
      src/
        components/    # Reusable components (TTSReader, Layout, Sidebar, Navbar, Footer)
        contexts/      # React Context providers
        hooks/         # Custom hooks (useTTS, useIndexedDB, useProgress)
        pages/         # Page components (Welcome, TopicHome, TopicDetail, Quiz, QuizStatus)
        data/          # Generated JSON data files
        types/         # TypeScript type definitions
        lib/           # Utility functions (IndexedDB loader)
      scripts/         # Parse scripts for knowledge → JSON
    
  4. Create src/types/index.ts with all TypeScript interfaces upfront (see Step 3 for the full type definitions)
  5. Set up React Router with placeholder routes:
    • / — Welcome page
    • /quiz-status — Quiz status page
    • /:topic — Topic home page
    • /:topic/:subtopic — Topic detail page
    • /:topic/quiz — Quiz page
  6. Install all dependencies, configure Vite and Tailwind

Step 3: Data Model — React Context

Create a LearningContext in src/contexts/LearningContext.tsx that replaces all localStorage-based state management.

TypeScript Interfaces (in src/types/index.ts)
interface AppState {
  topics: Topic[];
  topicProgress: Record<string, TopicProgress>;
}

interface Topic {
  slug: string;
  name: string;
  subtopics: string[];
}

interface TopicProgress {
  learningStatus: boolean;
  quizStatus: boolean;
  lastScore: QuizScore | null;
  subtopicStatus: Record<string, 'completed' | 'in-progress' | 'not-started'>;
  lastVisited: string | null;
}

interface QuizScore {
  total: number;
  correct: number;
  breakdown: {
    easy: [number, number];
    medium: [number, number];
    hard: [number, number];
  };
}

Read the full file on GitHub · 307 lines

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. 4d ago First seen · 307 lines · 17 tokens per session scan A 2514c475f2b5

Subscribe to this mod's changes

build-app is a skill published in the GitHub repository avicorp/learning-dna-plugin (5 stars, last pushed 4mo ago), licensed MIT. It adds 17 tokens to every session and 4,057 once invoked, about $0.0001 per session on Opus 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-08-31.

Related

Other skills, from other repositories

article-writing

Write articles, guides, blog posts, tutorials, newsletter issues, and other long-form content in a distinctive voice derived from supplied examples or brand guidance. Use when the user wants polished written content longer than a paragraph, especially when voice consistency, structure, and credibility matter.

affaan-m/ECC · 57 tokens

ljg-learn

Deep concept anatomist that deconstructs any concept through 8 exploration dimensions (history, dialectics, phenomenology, linguistics, formalization, existentialism, aesthetics, meta-philosophy) and compresses insights into an epiphany. Use when user asks to explain, dissect, or deeply understand a concept, term, or…

lijigang/ljg-skills · 113 tokens

eli5

Explain research, papers, or technical ideas in plain English with minimal jargon, concrete analogies, and clear takeaways. Use when the user says "ELI5 this", asks for a simple explanation of a paper or research result, wants jargon removed, or asks what something technically dense actually means.

companion-inc/feynman · 63 tokens

code-documenter

Use when adding docstrings, creating API documentation, or building documentation sites. Invoke for OpenAPI/Swagger specs, JSDoc, doc portals, tutorials, user guides.

zebbern/claude-code-guide · 39 tokens

deck-course-module

暖纸背景 + Playfair, 左侧学习目标常驻, 含 MCQ 自测页.

nexu-io/html-anything · 25 tokens

grid-ctf-ops

Operational knowledge for the gridctf scenario including strategy playbook, lessons learned, and resource references. Use when generating, evaluating, coaching, or debugging gridctf strategies.

greyhaven-ai/autocontext · 42 tokens