agent-learn-skills 1.1.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (29) hide show
  1. agent_learn_skills-1.1.0/.gitignore +28 -0
  2. agent_learn_skills-1.1.0/LICENSE +21 -0
  3. agent_learn_skills-1.1.0/PKG-INFO +248 -0
  4. agent_learn_skills-1.1.0/README.md +221 -0
  5. agent_learn_skills-1.1.0/pyproject.toml +69 -0
  6. agent_learn_skills-1.1.0/skills/code-mentor/SKILL.md +101 -0
  7. agent_learn_skills-1.1.0/skills/debug-postmortem/SKILL.md +106 -0
  8. agent_learn_skills-1.1.0/skills/docs-deconstructor/SKILL.md +105 -0
  9. agent_learn_skills-1.1.0/skills/feynman-tutor/SKILL.md +106 -0
  10. agent_learn_skills-1.1.0/skills/flashcards-srs/SKILL.md +105 -0
  11. agent_learn_skills-1.1.0/skills/flashcards-srs/scripts/validate_anki_csv.py +115 -0
  12. agent_learn_skills-1.1.0/skills/idiom-coach/SKILL.md +100 -0
  13. agent_learn_skills-1.1.0/skills/lesson/SKILL.md +93 -0
  14. agent_learn_skills-1.1.0/skills/lesson/assets/STUDY_PAGE_TEMPLATE.html +1540 -0
  15. agent_learn_skills-1.1.0/skills/mock-interview/SKILL.md +102 -0
  16. agent_learn_skills-1.1.0/skills/quiz-master/SKILL.md +124 -0
  17. agent_learn_skills-1.1.0/skills/study-roadmap/SKILL.md +105 -0
  18. agent_learn_skills-1.1.0/src/agent_learn_skills/__init__.py +3 -0
  19. agent_learn_skills-1.1.0/src/agent_learn_skills/cli.py +155 -0
  20. agent_learn_skills-1.1.0/templates/STUDY_PAGE_TEMPLATE.html +1540 -0
  21. agent_learn_skills-1.1.0/tests/README.md +113 -0
  22. agent_learn_skills-1.1.0/video/src/Root.tsx +207 -0
  23. agent_learn_skills-1.1.0/video/src/index.ts +4 -0
  24. agent_learn_skills-1.1.0/video/src/scenes/ActivePauseScene.tsx +208 -0
  25. agent_learn_skills-1.1.0/video/src/scenes/CodeTraceScene.tsx +166 -0
  26. agent_learn_skills-1.1.0/video/src/scenes/ConceptScene.tsx +142 -0
  27. agent_learn_skills-1.1.0/video/src/scenes/IntroScene.tsx +118 -0
  28. agent_learn_skills-1.1.0/video/src/scenes/QuizRecapScene.tsx +155 -0
  29. agent_learn_skills-1.1.0/video/src/theme.ts +70 -0
@@ -0,0 +1,28 @@
1
+ # Python
2
+ __pycache__/
3
+ *.py[cod]
4
+ *$py.class
5
+ .venv/
6
+ venv/
7
+ dist/
8
+ build/
9
+ *.egg-info/
10
+
11
+ # OS
12
+ .DS_Store
13
+ Thumbs.db
14
+
15
+ # Editors / IDEs
16
+ .vscode/
17
+ .idea/
18
+ *.swp
19
+ *.swo
20
+
21
+ # Environment
22
+ .env
23
+ .env.*
24
+
25
+ # Video Lesson Build & Output Artifacts
26
+ out/
27
+ video/node_modules/
28
+ video/public/_build/
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 Kauã Oliveira
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -0,0 +1,248 @@
1
+ Metadata-Version: 2.5
2
+ Name: agent-learn-skills
3
+ Version: 1.1.0
4
+ Summary: Open-source catalog of SKILL.md Agent Skills for active learning, offline Editorial Notebook HTML study pages, and MP4 video lessons.
5
+ Project-URL: Homepage, https://github.com/hikarilucky79/agent-learn-skills
6
+ Project-URL: Repository, https://github.com/hikarilucky79/agent-learn-skills
7
+ Project-URL: Issues, https://github.com/hikarilucky79/agent-learn-skills/issues
8
+ Author: Kauã Oliveira
9
+ License: MIT
10
+ License-File: LICENSE
11
+ Keywords: active-learning,agent-skills,anki,antigravity,claude-code,codex,cursor,opencode,skill-md
12
+ Classifier: Development Status :: 5 - Production/Stable
13
+ Classifier: Intended Audience :: Developers
14
+ Classifier: Intended Audience :: Education
15
+ Classifier: License :: OSI Approved :: MIT License
16
+ Classifier: Programming Language :: Python :: 3
17
+ Classifier: Programming Language :: Python :: 3.10
18
+ Classifier: Programming Language :: Python :: 3.11
19
+ Classifier: Programming Language :: Python :: 3.12
20
+ Classifier: Topic :: Education
21
+ Requires-Python: >=3.10
22
+ Provides-Extra: video
23
+ Requires-Dist: edge-tts>=6.1.0; extra == 'video'
24
+ Requires-Dist: jsonschema>=4.20.0; extra == 'video'
25
+ Requires-Dist: mutagen>=1.47.0; extra == 'video'
26
+ Description-Content-Type: text/markdown
27
+
28
+ # agent-learn-skills
29
+
30
+ [![Validate Skills](https://github.com/hikarilucky79/agent-learn-skills/actions/workflows/validate.yml/badge.svg)](https://github.com/hikarilucky79/agent-learn-skills/actions/workflows/validate.yml)
31
+ [![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](LICENSE)
32
+ [![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg)](CONTRIBUTING.md)
33
+
34
+ An open-source repository of **Agent Skills for active learning** built on the `SKILL.md` standard. Designed to turn AI agents (CLIs and IDEs) into rigorous tutors that prioritize **guided practice, active recall, and diagnostic feedback** instead of passive answers.
35
+
36
+ ---
37
+
38
+ ## Value Proposition
39
+
40
+ - **Active learning first:** the agent requires an attempt, explanation, or debugging step before revealing ready-made answers.
41
+ - **Offline interactive study page in every skill:** every skill automatically generates a single-file offline `.html` study page (`templates/STUDY_PAGE_TEMPLATE.html`) with active-reveal concept cards (*"Think first, then reveal"*), 4–8 flip flashcards, and a diagnostic quiz (hidden key until **Check Answers**), plus Light/Dark toggle, progress bar, and Reset.
42
+ - **Modularity:** each skill executes a single pedagogical method with clear boundaries and zero trigger overlap.
43
+ - **Lean context:** concise, actionable instructions that save model context window.
44
+ - **Portability:** compatible with modern `SKILL.md`-based agents (Claude Code, Codex CLI, Cursor, OpenCode, Antigravity, and others).
45
+
46
+ ---
47
+
48
+ ## Before vs. After
49
+
50
+ | Scenario | Default AI Agent | With `agent-learn-skills` |
51
+ |---|---|---|
52
+ | *"Why does my Python function return `None`?"* | Rewrites the entire function immediately, robbing you of the debugging step. | **`code-mentor` (Hint Level 1):** points to the last line and asks what happens when you `print()` instead of `return`. |
53
+ | *"Quiz me on JS Event Loop"* | Dumps questions with the answer key right below them. | **`quiz-master`:** presents plausible distractors, **hides the key**, and diagnoses misconceptions after your attempt. |
54
+ | *"Help me understand REST Idempotency"* | Outputs a generic 5-paragraph summary. | **`feynman-tutor`:** asks you to explain it first, flags jargon/gaps, and guides refinement with Socratic questions. |
55
+
56
+ ---
57
+
58
+ ## Skills Catalog
59
+
60
+ | Skill | Pedagogical Technique | When to Use | Example Prompt |
61
+ |---|---|---|---|
62
+ | [`quiz-master`](skills/quiz-master/SKILL.md) | Active Recall with realistic distractors | Mock exams, quizzes, certifications, and code analysis | *"Give me a 5-question quiz on JS Event Loop, Junior level."* |
63
+ | [`flashcards-srs`](skills/flashcards-srs/SKILL.md) | Atomicity and Spaced Repetition (Anki/SRS) | Building Q&A or Cloze Deletion decks with CSV export | *"Create 8 atomic flashcards on SQL indexes and export as CSV."* |
64
+ | [`feynman-tutor`](skills/feynman-tutor/SKILL.md) | Feynman Technique and Socratic questioning | Validating deep understanding by explaining in your own words | *"I want to study REST Idempotency using Feynman; here is my explanation..."* |
65
+ | [`code-mentor`](skills/code-mentor/SKILL.md) | Pair programming and 3-level progressive hints | Guided debugging, refactoring, and educational code review | *"My Python function returns None instead of the sum; give me hints without rewriting everything."* |
66
+ | [`study-roadmap`](skills/study-roadmap/SKILL.md) | Project-oriented instructional design | Planning study tracks with deadlines, milestones, and checkpoints | *"Build a 4-week SQL roadmap (6h/week, beginner level)."* |
67
+ | [`mock-interview`](skills/mock-interview/SKILL.md) | Simulated interviewing with dynamic follow-ups & rubric | Practicing technical, system design, or behavioral (STAR) interviews | *"Run a mid-level backend mock interview on caching strategies."* |
68
+ | [`idiom-coach`](skills/idiom-coach/SKILL.md) | Reverse translation, roleplay, and surgical correction | Active foreign-language production with targeted feedback | *"Let's practice B1 English via reverse translation for daily standups."* |
69
+ | [`docs-deconstructor`](skills/docs-deconstructor/SKILL.md) | Active reading and invariant extraction pre-summary | Dissecting dense docs, RFCs, or technical articles before summarizing | *"Help me actively read this HTTP caching excerpt before summarizing it."* |
70
+ | [`debug-postmortem`](skills/debug-postmortem/SKILL.md) | Blameless post-bug metacognitive retrospective | Analyzing false hypotheses, root cause, and systemic prevention after a fix | *"I fixed a duplicate-job bug after blaming Redis; help me run a postmortem."* |
71
+ | [`lesson`](skills/lesson/SKILL.md) | Unified active lesson + narrated MP4 video (`edge-tts` + Remotion) | Generating a full bundle: `.mp4` + `.srt` + embedded Editorial Notebook `.html` + Anki `.csv` | *"/lesson Event Loop in Node.js (intermediate, pt-BR, 16:9)"* |
72
+
73
+ ---
74
+
75
+ ## Installation & Usage
76
+
77
+ ### 1-Line Install (No Clone Required)
78
+
79
+ Install all 10 skills directly into your agent (`claude`, `cursor`, `codex`, `opencode`, or `antigravity`) with a single command:
80
+
81
+ **Linux / macOS ([`scripts/remote-install.sh`](scripts/remote-install.sh)):**
82
+ ```bash
83
+ # Default: installs all skills globally for Claude Code
84
+ curl -fsSL https://raw.githubusercontent.com/hikarilucky79/agent-learn-skills/main/scripts/remote-install.sh | bash
85
+
86
+ # Target a specific agent or skills (e.g., Cursor, Antigravity, or Codex)
87
+ curl -fsSL https://raw.githubusercontent.com/hikarilucky79/agent-learn-skills/main/scripts/remote-install.sh | bash -s -- --agent cursor --scope global --force
88
+ ```
89
+
90
+ **Windows PowerShell ([`scripts/remote-install.ps1`](scripts/remote-install.ps1)):**
91
+ ```powershell
92
+ # Default: installs all skills globally for Claude Code
93
+ irm https://raw.githubusercontent.com/hikarilucky79/agent-learn-skills/main/scripts/remote-install.ps1 | iex
94
+
95
+ # Target a specific agent or skills (e.g., Cursor, Antigravity, or Codex)
96
+ & ([scriptblock]::Create((irm https://raw.githubusercontent.com/hikarilucky79/agent-learn-skills/main/scripts/remote-install.ps1))) -Agent cursor -Scope global -Force
97
+ ```
98
+
99
+ ### Local Clone Install (Recommended for `/lesson` Video Rendering)
100
+
101
+ Clone the repository and run the local installer:
102
+
103
+ **Linux / macOS ([`scripts/install.sh`](scripts/install.sh)):**
104
+ ```bash
105
+ git clone https://github.com/hikarilucky79/agent-learn-skills.git
106
+ cd agent-learn-skills
107
+ chmod +x scripts/install.sh
108
+
109
+ # Install all skills via symlink (default: --agent claude --scope global)
110
+ ./scripts/install.sh --agent claude --scope global
111
+
112
+ # Install specific skills in the current project
113
+ ./scripts/install.sh --agent cursor --scope project --skill quiz-master --skill code-mentor
114
+
115
+ # Uninstall repository skills from the target agent
116
+ ./scripts/install.sh --uninstall --agent claude --scope global
117
+ ```
118
+
119
+ **Windows PowerShell ([`scripts/install.ps1`](scripts/install.ps1)):**
120
+ ```powershell
121
+ git clone https://github.com/hikarilucky79/agent-learn-skills.git
122
+ cd agent-learn-skills
123
+
124
+ # Install all skills by copy (default: -Agent claude -Scope global)
125
+ .\scripts\install.ps1 -Agent claude -Scope global
126
+
127
+ # Install specific skills in the current project
128
+ .\scripts\install.ps1 -Agent cursor -Scope project -Skill quiz-master,code-mentor
129
+
130
+ # Uninstall repository skills from the target agent
131
+ .\scripts\install.ps1 -Uninstall -Agent claude -Scope global
132
+ ```
133
+
134
+ > **Tip:** use `--copy` (`install.sh`) or `-Symlink` (`install.ps1`) to invert the default mode, `--force` / `-Force` to overwrite existing skills (or remove external symlinks when uninstalling), and `--uninstall` / `-Uninstall` to remove installed repository skills.
135
+
136
+ ### Manual Installation (Alternative)
137
+
138
+ ```bash
139
+ # Example: manual symlink for Claude Code
140
+ mkdir -p ~/.claude/skills
141
+ for skill in skills/*; do
142
+ ln -s "$(pwd)/$skill" ~/.claude/skills/"$(basename "$skill")"
143
+ done
144
+ ```
145
+
146
+ ---
147
+
148
+ ## Creating a New Skill
149
+
150
+ 1. Scaffold the new skill using [`scripts/new_skill.py`](scripts/new_skill.py) (which creates `skills/<kebab-case-name>/SKILL.md` from [`templates/SKILL_TEMPLATE.md`](templates/SKILL_TEMPLATE.md) with `name:` pre-filled):
151
+ ```bash
152
+ python scripts/new_skill.py <kebab-case-name>
153
+ ```
154
+ 2. Complete all 6 sections, define clear boundaries in `description` (when to activate and an explicit `DO NOT activate` clause) to avoid conflicting with existing skills, and remove all HTML comments (`<!-- ... -->`).
155
+ 3. Add the new skill to the catalog above and run `python scripts/validate_skills.py` and `python -m unittest discover -s tests -v`.
156
+ 4. Follow all guidelines and the checklist in [`CONTRIBUTING.md`](CONTRIBUTING.md).
157
+
158
+ ---
159
+
160
+ ## Repository Structure
161
+
162
+ ```text
163
+ agent-learn-skills/
164
+ ├── README.md
165
+ ├── CONTRIBUTING.md
166
+ ├── CODE_OF_CONDUCT.md
167
+ ├── AGENTS.md
168
+ ├── LICENSE
169
+ ├── scripts/
170
+ │ ├── install.ps1
171
+ │ ├── install.sh
172
+ │ ├── new_skill.py
173
+ │ ├── remote-install.ps1
174
+ │ ├── remote-install.sh
175
+ │ └── validate_skills.py
176
+ ├── templates/
177
+ │ ├── SKILL_TEMPLATE.md
178
+ │ └── STUDY_PAGE_TEMPLATE.html
179
+ ├── tests/
180
+ │ ├── README.md
181
+ │ ├── activation_prompts.md
182
+ │ ├── test_activation_prompts.py
183
+ │ ├── test_installers.py
184
+ │ ├── test_new_skill.py
185
+ │ ├── test_study_page_template.py
186
+ │ ├── test_validate_anki_csv.py
187
+ │ └── test_validate_skills.py
188
+ └── skills/
189
+ ├── quiz-master/
190
+ │ └── SKILL.md
191
+ ├── flashcards-srs/
192
+ │ ├── SKILL.md
193
+ │ └── scripts/
194
+ │ └── validate_anki_csv.py
195
+ ├── feynman-tutor/
196
+ │ └── SKILL.md
197
+ ├── code-mentor/
198
+ │ └── SKILL.md
199
+ ├── study-roadmap/
200
+ │ └── SKILL.md
201
+ ├── mock-interview/
202
+ │ └── SKILL.md
203
+ ├── idiom-coach/
204
+ │ └── SKILL.md
205
+ ├── docs-deconstructor/
206
+ │ └── SKILL.md
207
+ ├── debug-postmortem/
208
+ │ └── SKILL.md
209
+ └── lesson/
210
+ ├── SKILL.md
211
+ └── assets/
212
+ └── STUDY_PAGE_TEMPLATE.html
213
+ ```
214
+
215
+ ### Video Lesson Pipeline (`/lesson` Prerequisites)
216
+
217
+ To render `.mp4` videos with the `lesson` skill, install Python (`edge-tts`, `jsonschema`, `mutagen`) and Remotion dependencies:
218
+
219
+ ```bash
220
+ pip install -r requirements.txt
221
+ cd video && npm install
222
+ ```
223
+
224
+ Render any validated `lesson.json` directly:
225
+
226
+ ```bash
227
+ python scripts/validate_lesson.py examples/sample-lesson.json
228
+ python scripts/build_video.py examples/sample-lesson.json --out out/sample/sample.mp4
229
+ ```
230
+
231
+ ---
232
+
233
+ ## Publishing (Maintainers)
234
+
235
+ ```bash
236
+ # npm (npx agent-learn-skills)
237
+ npm publish --access public
238
+
239
+ # PyPI (pip install agent-learn-skills)
240
+ python -m build
241
+ twine upload dist/*
242
+ ```
243
+
244
+ ---
245
+
246
+ ## License
247
+
248
+ Distributed under the [MIT](LICENSE) License.
@@ -0,0 +1,221 @@
1
+ # agent-learn-skills
2
+
3
+ [![Validate Skills](https://github.com/hikarilucky79/agent-learn-skills/actions/workflows/validate.yml/badge.svg)](https://github.com/hikarilucky79/agent-learn-skills/actions/workflows/validate.yml)
4
+ [![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](LICENSE)
5
+ [![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg)](CONTRIBUTING.md)
6
+
7
+ An open-source repository of **Agent Skills for active learning** built on the `SKILL.md` standard. Designed to turn AI agents (CLIs and IDEs) into rigorous tutors that prioritize **guided practice, active recall, and diagnostic feedback** instead of passive answers.
8
+
9
+ ---
10
+
11
+ ## Value Proposition
12
+
13
+ - **Active learning first:** the agent requires an attempt, explanation, or debugging step before revealing ready-made answers.
14
+ - **Offline interactive study page in every skill:** every skill automatically generates a single-file offline `.html` study page (`templates/STUDY_PAGE_TEMPLATE.html`) with active-reveal concept cards (*"Think first, then reveal"*), 4–8 flip flashcards, and a diagnostic quiz (hidden key until **Check Answers**), plus Light/Dark toggle, progress bar, and Reset.
15
+ - **Modularity:** each skill executes a single pedagogical method with clear boundaries and zero trigger overlap.
16
+ - **Lean context:** concise, actionable instructions that save model context window.
17
+ - **Portability:** compatible with modern `SKILL.md`-based agents (Claude Code, Codex CLI, Cursor, OpenCode, Antigravity, and others).
18
+
19
+ ---
20
+
21
+ ## Before vs. After
22
+
23
+ | Scenario | Default AI Agent | With `agent-learn-skills` |
24
+ |---|---|---|
25
+ | *"Why does my Python function return `None`?"* | Rewrites the entire function immediately, robbing you of the debugging step. | **`code-mentor` (Hint Level 1):** points to the last line and asks what happens when you `print()` instead of `return`. |
26
+ | *"Quiz me on JS Event Loop"* | Dumps questions with the answer key right below them. | **`quiz-master`:** presents plausible distractors, **hides the key**, and diagnoses misconceptions after your attempt. |
27
+ | *"Help me understand REST Idempotency"* | Outputs a generic 5-paragraph summary. | **`feynman-tutor`:** asks you to explain it first, flags jargon/gaps, and guides refinement with Socratic questions. |
28
+
29
+ ---
30
+
31
+ ## Skills Catalog
32
+
33
+ | Skill | Pedagogical Technique | When to Use | Example Prompt |
34
+ |---|---|---|---|
35
+ | [`quiz-master`](skills/quiz-master/SKILL.md) | Active Recall with realistic distractors | Mock exams, quizzes, certifications, and code analysis | *"Give me a 5-question quiz on JS Event Loop, Junior level."* |
36
+ | [`flashcards-srs`](skills/flashcards-srs/SKILL.md) | Atomicity and Spaced Repetition (Anki/SRS) | Building Q&A or Cloze Deletion decks with CSV export | *"Create 8 atomic flashcards on SQL indexes and export as CSV."* |
37
+ | [`feynman-tutor`](skills/feynman-tutor/SKILL.md) | Feynman Technique and Socratic questioning | Validating deep understanding by explaining in your own words | *"I want to study REST Idempotency using Feynman; here is my explanation..."* |
38
+ | [`code-mentor`](skills/code-mentor/SKILL.md) | Pair programming and 3-level progressive hints | Guided debugging, refactoring, and educational code review | *"My Python function returns None instead of the sum; give me hints without rewriting everything."* |
39
+ | [`study-roadmap`](skills/study-roadmap/SKILL.md) | Project-oriented instructional design | Planning study tracks with deadlines, milestones, and checkpoints | *"Build a 4-week SQL roadmap (6h/week, beginner level)."* |
40
+ | [`mock-interview`](skills/mock-interview/SKILL.md) | Simulated interviewing with dynamic follow-ups & rubric | Practicing technical, system design, or behavioral (STAR) interviews | *"Run a mid-level backend mock interview on caching strategies."* |
41
+ | [`idiom-coach`](skills/idiom-coach/SKILL.md) | Reverse translation, roleplay, and surgical correction | Active foreign-language production with targeted feedback | *"Let's practice B1 English via reverse translation for daily standups."* |
42
+ | [`docs-deconstructor`](skills/docs-deconstructor/SKILL.md) | Active reading and invariant extraction pre-summary | Dissecting dense docs, RFCs, or technical articles before summarizing | *"Help me actively read this HTTP caching excerpt before summarizing it."* |
43
+ | [`debug-postmortem`](skills/debug-postmortem/SKILL.md) | Blameless post-bug metacognitive retrospective | Analyzing false hypotheses, root cause, and systemic prevention after a fix | *"I fixed a duplicate-job bug after blaming Redis; help me run a postmortem."* |
44
+ | [`lesson`](skills/lesson/SKILL.md) | Unified active lesson + narrated MP4 video (`edge-tts` + Remotion) | Generating a full bundle: `.mp4` + `.srt` + embedded Editorial Notebook `.html` + Anki `.csv` | *"/lesson Event Loop in Node.js (intermediate, pt-BR, 16:9)"* |
45
+
46
+ ---
47
+
48
+ ## Installation & Usage
49
+
50
+ ### 1-Line Install (No Clone Required)
51
+
52
+ Install all 10 skills directly into your agent (`claude`, `cursor`, `codex`, `opencode`, or `antigravity`) with a single command:
53
+
54
+ **Linux / macOS ([`scripts/remote-install.sh`](scripts/remote-install.sh)):**
55
+ ```bash
56
+ # Default: installs all skills globally for Claude Code
57
+ curl -fsSL https://raw.githubusercontent.com/hikarilucky79/agent-learn-skills/main/scripts/remote-install.sh | bash
58
+
59
+ # Target a specific agent or skills (e.g., Cursor, Antigravity, or Codex)
60
+ curl -fsSL https://raw.githubusercontent.com/hikarilucky79/agent-learn-skills/main/scripts/remote-install.sh | bash -s -- --agent cursor --scope global --force
61
+ ```
62
+
63
+ **Windows PowerShell ([`scripts/remote-install.ps1`](scripts/remote-install.ps1)):**
64
+ ```powershell
65
+ # Default: installs all skills globally for Claude Code
66
+ irm https://raw.githubusercontent.com/hikarilucky79/agent-learn-skills/main/scripts/remote-install.ps1 | iex
67
+
68
+ # Target a specific agent or skills (e.g., Cursor, Antigravity, or Codex)
69
+ & ([scriptblock]::Create((irm https://raw.githubusercontent.com/hikarilucky79/agent-learn-skills/main/scripts/remote-install.ps1))) -Agent cursor -Scope global -Force
70
+ ```
71
+
72
+ ### Local Clone Install (Recommended for `/lesson` Video Rendering)
73
+
74
+ Clone the repository and run the local installer:
75
+
76
+ **Linux / macOS ([`scripts/install.sh`](scripts/install.sh)):**
77
+ ```bash
78
+ git clone https://github.com/hikarilucky79/agent-learn-skills.git
79
+ cd agent-learn-skills
80
+ chmod +x scripts/install.sh
81
+
82
+ # Install all skills via symlink (default: --agent claude --scope global)
83
+ ./scripts/install.sh --agent claude --scope global
84
+
85
+ # Install specific skills in the current project
86
+ ./scripts/install.sh --agent cursor --scope project --skill quiz-master --skill code-mentor
87
+
88
+ # Uninstall repository skills from the target agent
89
+ ./scripts/install.sh --uninstall --agent claude --scope global
90
+ ```
91
+
92
+ **Windows PowerShell ([`scripts/install.ps1`](scripts/install.ps1)):**
93
+ ```powershell
94
+ git clone https://github.com/hikarilucky79/agent-learn-skills.git
95
+ cd agent-learn-skills
96
+
97
+ # Install all skills by copy (default: -Agent claude -Scope global)
98
+ .\scripts\install.ps1 -Agent claude -Scope global
99
+
100
+ # Install specific skills in the current project
101
+ .\scripts\install.ps1 -Agent cursor -Scope project -Skill quiz-master,code-mentor
102
+
103
+ # Uninstall repository skills from the target agent
104
+ .\scripts\install.ps1 -Uninstall -Agent claude -Scope global
105
+ ```
106
+
107
+ > **Tip:** use `--copy` (`install.sh`) or `-Symlink` (`install.ps1`) to invert the default mode, `--force` / `-Force` to overwrite existing skills (or remove external symlinks when uninstalling), and `--uninstall` / `-Uninstall` to remove installed repository skills.
108
+
109
+ ### Manual Installation (Alternative)
110
+
111
+ ```bash
112
+ # Example: manual symlink for Claude Code
113
+ mkdir -p ~/.claude/skills
114
+ for skill in skills/*; do
115
+ ln -s "$(pwd)/$skill" ~/.claude/skills/"$(basename "$skill")"
116
+ done
117
+ ```
118
+
119
+ ---
120
+
121
+ ## Creating a New Skill
122
+
123
+ 1. Scaffold the new skill using [`scripts/new_skill.py`](scripts/new_skill.py) (which creates `skills/<kebab-case-name>/SKILL.md` from [`templates/SKILL_TEMPLATE.md`](templates/SKILL_TEMPLATE.md) with `name:` pre-filled):
124
+ ```bash
125
+ python scripts/new_skill.py <kebab-case-name>
126
+ ```
127
+ 2. Complete all 6 sections, define clear boundaries in `description` (when to activate and an explicit `DO NOT activate` clause) to avoid conflicting with existing skills, and remove all HTML comments (`<!-- ... -->`).
128
+ 3. Add the new skill to the catalog above and run `python scripts/validate_skills.py` and `python -m unittest discover -s tests -v`.
129
+ 4. Follow all guidelines and the checklist in [`CONTRIBUTING.md`](CONTRIBUTING.md).
130
+
131
+ ---
132
+
133
+ ## Repository Structure
134
+
135
+ ```text
136
+ agent-learn-skills/
137
+ ├── README.md
138
+ ├── CONTRIBUTING.md
139
+ ├── CODE_OF_CONDUCT.md
140
+ ├── AGENTS.md
141
+ ├── LICENSE
142
+ ├── scripts/
143
+ │ ├── install.ps1
144
+ │ ├── install.sh
145
+ │ ├── new_skill.py
146
+ │ ├── remote-install.ps1
147
+ │ ├── remote-install.sh
148
+ │ └── validate_skills.py
149
+ ├── templates/
150
+ │ ├── SKILL_TEMPLATE.md
151
+ │ └── STUDY_PAGE_TEMPLATE.html
152
+ ├── tests/
153
+ │ ├── README.md
154
+ │ ├── activation_prompts.md
155
+ │ ├── test_activation_prompts.py
156
+ │ ├── test_installers.py
157
+ │ ├── test_new_skill.py
158
+ │ ├── test_study_page_template.py
159
+ │ ├── test_validate_anki_csv.py
160
+ │ └── test_validate_skills.py
161
+ └── skills/
162
+ ├── quiz-master/
163
+ │ └── SKILL.md
164
+ ├── flashcards-srs/
165
+ │ ├── SKILL.md
166
+ │ └── scripts/
167
+ │ └── validate_anki_csv.py
168
+ ├── feynman-tutor/
169
+ │ └── SKILL.md
170
+ ├── code-mentor/
171
+ │ └── SKILL.md
172
+ ├── study-roadmap/
173
+ │ └── SKILL.md
174
+ ├── mock-interview/
175
+ │ └── SKILL.md
176
+ ├── idiom-coach/
177
+ │ └── SKILL.md
178
+ ├── docs-deconstructor/
179
+ │ └── SKILL.md
180
+ ├── debug-postmortem/
181
+ │ └── SKILL.md
182
+ └── lesson/
183
+ ├── SKILL.md
184
+ └── assets/
185
+ └── STUDY_PAGE_TEMPLATE.html
186
+ ```
187
+
188
+ ### Video Lesson Pipeline (`/lesson` Prerequisites)
189
+
190
+ To render `.mp4` videos with the `lesson` skill, install Python (`edge-tts`, `jsonschema`, `mutagen`) and Remotion dependencies:
191
+
192
+ ```bash
193
+ pip install -r requirements.txt
194
+ cd video && npm install
195
+ ```
196
+
197
+ Render any validated `lesson.json` directly:
198
+
199
+ ```bash
200
+ python scripts/validate_lesson.py examples/sample-lesson.json
201
+ python scripts/build_video.py examples/sample-lesson.json --out out/sample/sample.mp4
202
+ ```
203
+
204
+ ---
205
+
206
+ ## Publishing (Maintainers)
207
+
208
+ ```bash
209
+ # npm (npx agent-learn-skills)
210
+ npm publish --access public
211
+
212
+ # PyPI (pip install agent-learn-skills)
213
+ python -m build
214
+ twine upload dist/*
215
+ ```
216
+
217
+ ---
218
+
219
+ ## License
220
+
221
+ Distributed under the [MIT](LICENSE) License.
@@ -0,0 +1,69 @@
1
+ [build-system]
2
+ requires = ["hatchling>=1.24.0"]
3
+ build-backend = "hatchling.build"
4
+
5
+ [project]
6
+ name = "agent-learn-skills"
7
+ version = "1.1.0"
8
+ description = "Open-source catalog of SKILL.md Agent Skills for active learning, offline Editorial Notebook HTML study pages, and MP4 video lessons."
9
+ readme = "README.md"
10
+ license = { text = "MIT" }
11
+ requires-python = ">=3.10"
12
+ authors = [
13
+ { name = "Kauã Oliveira" }
14
+ ]
15
+ keywords = [
16
+ "agent-skills",
17
+ "skill-md",
18
+ "active-learning",
19
+ "claude-code",
20
+ "cursor",
21
+ "codex",
22
+ "opencode",
23
+ "antigravity",
24
+ "anki"
25
+ ]
26
+ classifiers = [
27
+ "Development Status :: 5 - Production/Stable",
28
+ "Intended Audience :: Developers",
29
+ "Intended Audience :: Education",
30
+ "License :: OSI Approved :: MIT License",
31
+ "Programming Language :: Python :: 3",
32
+ "Programming Language :: Python :: 3.10",
33
+ "Programming Language :: Python :: 3.11",
34
+ "Programming Language :: Python :: 3.12",
35
+ "Topic :: Education",
36
+ ]
37
+ dependencies = []
38
+
39
+ [project.optional-dependencies]
40
+ video = [
41
+ "edge-tts>=6.1.0",
42
+ "jsonschema>=4.20.0",
43
+ "mutagen>=1.47.0",
44
+ ]
45
+
46
+ [project.urls]
47
+ Homepage = "https://github.com/hikarilucky79/agent-learn-skills"
48
+ Repository = "https://github.com/hikarilucky79/agent-learn-skills"
49
+ Issues = "https://github.com/hikarilucky79/agent-learn-skills/issues"
50
+
51
+ [project.scripts]
52
+ agent-learn-skills = "agent_learn_skills.cli:main"
53
+
54
+ [tool.hatch.build.targets.wheel]
55
+ packages = ["src/agent_learn_skills"]
56
+
57
+ [tool.hatch.build.targets.wheel.force-include]
58
+ "skills" = "agent_learn_skills/data/skills"
59
+ "templates/STUDY_PAGE_TEMPLATE.html" = "agent_learn_skills/data/templates/STUDY_PAGE_TEMPLATE.html"
60
+
61
+ [tool.hatch.build.targets.sdist]
62
+ include = [
63
+ "src/",
64
+ "skills/",
65
+ "templates/STUDY_PAGE_TEMPLATE.html",
66
+ "README.md",
67
+ "LICENSE",
68
+ "pyproject.toml",
69
+ ]