skills/axiom-extractor/SKILL.md
Extract a person's core axioms, beliefs, principles, or worldview from a large corpus of writings using an incremental read-and-update workflow. Use when the user asks to extract axioms from writings, find core beliefs in a corpus, distill principles from notes, or analyze a directory of text files, including Chinese requests such as "提炼这些文章的底层信念" or "从这批笔记里抽取核心原则".
npx skillsauth add zxsun2022/UsingAI axiom-extractorInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Extract a person's core axioms by incrementally reading their writings and maintaining a living axiom document.
Instead of batch processing, this skill works like a careful reader:
This mirrors how a thoughtful reader would form an understanding of someone's worldview by reading their collected works sequentially.
An axiom is a fundamental belief the author has arrived at through experience - not a goal, aspiration, or motivational slogan.
Test for a real axiom:
Counter-examples that are NOT axioms:
Ask the user for:
List all readable files in the directory (.txt, .md, .html, .org, .rst, .json, .csv). Sort them - if filenames contain dates, sort chronologically; otherwise sort alphabetically.
Count total files and estimate total characters. Report this to the user.
Create the initial axiom document at axioms.md in the working directory with this structure:
# [Author Name]'s Axioms
_Work in progress - extracted from [0/N] files_
## Axioms
(none yet)
## Graveyard
_Axioms that were considered but later removed or downgraded_
## Processing Log
| # | File | Chars | Axioms added | Axioms modified | Notes |
|---|------|-------|-------------|----------------|-------|
For each file in the corpus, do the following:
Step A - Read the file. Read the full content. If the file exceeds 80,000 characters, split it into segments and process each segment as a sub-step.
Step B - Extract insights. While reading, look for:
Step C - Update the axiom document.
Open axioms.md and apply one or more of these operations:
| Operation | When to use | How | |-----------|------------|-----| | ADD | A genuinely new insight not covered by existing axioms | Add a new axiom entry | | STRENGTHEN | An existing axiom is confirmed by new evidence | Increment the recurrence count, add evidence | | REFINE | An existing axiom needs better wording based on new evidence | Rewrite the axiom statement, note why | | MERGE | Two existing axioms turn out to be the same insight | Combine into one, keep the stronger formulation | | WEAKEN | New text contradicts an existing axiom | Note the contradiction, lower confidence | | SPLIT | An axiom turns out to contain two distinct insights | Create two separate axioms | | DEMOTE | An axiom turns out to be aspirational, not actually held | Move to a separate "Aspirational" section | | KILL | An axiom was a misreading or is clearly wrong | Move to Graveyard with explanation |
Each axiom entry in the document should look like:
### A[N]. [Short title]
> [Concise axiom statement - 1-2 sentences max]
- **Recurrence**: [N] files
- **Confidence**: high | medium | low
- **Domain**: [epistemology | product | investment | identity | spirituality | career | creativity | relationships | meta-cognition | culture | technology | other]
- **Key evidence**: [1-3 short notes referencing specific files/passages]
- **First seen**: [filename]
- **Status**: active | aspirational | tension
Step D - Update the processing log. Add a row to the log table with the file name, character count, number of axioms added/modified, and any notable observations.
Step E - Save and continue.
Save axioms.md and move to the next file.
Once all files have been read, do a final synthesis pass on axioms.md:
Sort by recurrence. Axioms that appeared in many files should be at the top.
Assign tiers.
Identify tensions. Find 2-4 pairs of axioms that contradict or sit in productive tension with each other. These are often the most revealing parts of someone's belief system.
Write a meta-axiom if one exists - an overarching pattern about the author's relationship to their own thinking (e.g., "values analysis over action", "trusts experience over theory").
Clean up. Remove the processing log from the final document (or move it to an appendix). Rewrite the header to reflect the final state.
# [Author Name]'s Axioms
_Distilled from [N] texts, [total chars] characters_
## Tier 1: Core Axioms
_Non-negotiable beliefs verified by repeated experience_
### A1. [Title]
> [Axiom statement]
Recurrence: [N]x | Domain: [domain]
Evidence: [brief notes]
...
## Tier 2: Framework Axioms
_Intellectual tools the author relies on_
...
## Tier 3: Emerging Axioms
_Recently formed beliefs, not yet fully tested_
...
## Tensions & Contradictions
_Where the author's axioms conflict - often the most interesting part_
1. **[Axiom X] vs [Axiom Y]**: [explanation of the tension]
...
## Meta-Axiom
> [If one exists]
## Aspirational Beliefs
_Things the author writes about wanting to be true, but doesn't consistently practice_
...
For corpora over 100 files:
For individual files over 80,000 characters:
User: Extract axioms from ~/writings/ - that's my blog posts from 2020-2025.
I'm a product manager interested in AI, investing, and Buddhist philosophy.
Agent: [Lists 87 .md files, ~450K total chars]
Creating axioms.md...
Reading file 1/87: 2020-01-investment-thesis.md (3,200 chars)...
-> Added A1: "Productive assets capture human labor; non-productive assets don't"
-> Added A2: "Invest with the crowd's money against the crowd's opinion"
Reading file 2/87: 2020-03-career-reflections.md (5,100 chars)...
-> Added A3: "The analytical world is safe; action is irreversible and dangerous"
-> Strengthened A1 (new evidence about compound effects)
...
Reading file 87/87: 2025-12-year-review.md (8,400 chars)...
-> Strengthened A3 (recurrence: 12x - clearly core)
-> Killed A15 (author explicitly renounced this view)
Running final synthesis...
Done. 17 axioms across 3 tiers, 4 tensions identified.
tools
使用 iztro 生成紫微斗数排盘,融合王亭之中州派理论进行深度分层解读。适用于用户要求基于出生日期、出生时辰、出生地与性别进行本命盘分析,或要求流年/流月/流日/未来时间段推演时。解读时结合《王亭之谈紫微斗数》的星系组合论与格局论,提供更具深度的命理分析。
tools
使用 iztro 生成紫微斗数排盘并输出分层解读。适用于用户要求基于出生日期、出生时辰、出生地与性别进行本命盘分析,或要求流年/流月/流日/未来时间段推演时。支持先确认出生日期是公历或农历,再生成对应盘面并按"本命→流年→流月→流日"层级解读。
development
Generate a buy-side, institution-grade equity investment memo for a public company using a long-workflow research process. Optimized for hedge-fund style long/short analysis, variant perception, evidence discipline, valuation rigor, and explicit handling of public-data limits and paywalled sources.
testing
Create, edit, improve, or audit AgentSkills. Use when creating a new skill from scratch or when asked to improve, review, audit, tidy up, or clean up an existing skill or SKILL.md file. Also use when editing or restructuring a skill directory (moving files to references/ or scripts/, removing stale content, validating against the AgentSkills spec). Triggers on phrases like "create a skill", "author a skill", "tidy up a skill", "improve this skill", "review the skill", "clean up the skill", "audit the skill".