learning

learning is a skill for Claude Code from HsuanYuLee/polaris. It costs 180 tokens per session (1,840 once invoked), scanned A, original, MIT.

A learning workflow for turning outside material, articles, repositories, and code-review lessons into knowledge that can be used in a workspace. It also supports processing a queue of learning tasks and setting up a daily scanner.

In plain words
What is it for?
Use it to study external URLs or repositories, learn from pull requests, process batches of review lessons, manage research queues, and update workspace documentation.
Why use it?
It helps turn scattered research and review feedback into reusable notes and guidance. It keeps research separate from changing a task's agreed definition of success.

Skill for Claude Code

Written for Claude Code: installed under .claude/. Also seen: reads .claude/ paths; mentions subagents.

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/hsuanyulee/polaris/learning
Any agent
npx skills add HsuanYuLee/polaris --skill learning
Clone the repo
git clone --depth 1 https://github.com/HsuanYuLee/polaris

Made for: Claude Code.

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 learning

README.md
[![agentmods](https://agentmods.dev/badge/skills/hsuanyulee/polaris/learning.svg)](https://agentmods.dev/skills/hsuanyulee/polaris/learning)
Your own site
<a href="https://agentmods.dev/skills/hsuanyulee/polaris/learning"><img src="https://agentmods.dev/badge/skills/hsuanyulee/polaris/learning.svg" alt="Measured on agentmods" height="20"></a>
Per session 180 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,840 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.1 $0.00180 $0.01840
Opus 5 $0.00090 $0.00920
Sonnet 5 $0.00036 $0.00368
Haiku 4.5 $0.00018 $0.00184

Measured 5d ago against content hash ff6bd5376e89, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-05, from the pricing page.

Security

Grade A, and why

learning 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 5d ago.

The scan reads SKILL.md. This mod also ships 18 executable files (scripts/lib/main-checkout.sh, scripts/lib/specs-root.sh, scripts/lib/validate_dp_metadata_1.py, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

.claude/skills/learning/SKILL.md · 125 lines

How it starts

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

learning

learning 把外部資料、文章 queue、PR review lessons、daily scanner setup 轉成可落地的 workspace knowledge。SKILL.md 只保留 mode routing、邊界與 必讀 reference;mode 細節延後載入。

Mandatory Contracts

  • 任何 sub-agent dispatch 前,先說出它要回傳什麼(Completion Envelope),並要求它把 完整分析寫進一個檔案(/tmp/polaris-agent-{timestamp}.md),主 session 只收摘要。 envelope 的形狀由派工的那一份 flow 自己定義——PR / Batch 在 learning-pr-batch-flow.md,queue 在 learning-queue-flow.md
  • 任何 Slack / JIRA / GitHub / Confluence 或其他 external write 前,遵守 scripts/validate-language-policy.sh 或 external write gate。
  • 任何 specs Markdown 產出或匯入,遵守 starlight-authoring-contract.md
  • Learning 可以 seed / import research evidence,但不得自動 invoke refinement, 也不得替任何已凍結的 assertion 改寫成功的定義。
  • 寫入 handbook、backlog、learnings、README acknowledgement、RemoteTrigger 或 specs artifact 後,最後必跑 Post-Task Reflection。

Mode Detection

依使用者輸入選 mode;只讀該 mode 的 reference。

Signal Mode Reference
PR number、PR URL、PR + 學習/learn、某人的 PR、時間範圍 + PR PR mode learning-pr-batch-flow.md
掃 reviewbatch learn批次學習掃歷史 PR補齊 review lessons Batch mode learning-pr-batch-flow.md
外部 URL、GitHub repo、文章、local research file、使用者貼的研究題材 External mode learning-external-flow.md
每日學習今天有什麼可以學的有新文章嗎讀文章daily learningqueue、bare 學習 without URL/PR context Queue mode learning-queue-flow.md
設定學習learning setup更新學習主題scanner 設定learning scanner Setup mode learning-setup-flow.md
模糊輸入 Ask one concise clarification N/A

首次使用但 daily scanner 尚未設定時,提示使用者可用 設定學習learning setup 啟用每日文章推薦。

External Mode Contract

learning-external-flow.md。外部學習必須先判斷 target:

  • framework:Polaris / 框架 / AI agent pattern / skill / rule / mechanism。
  • project:{name}:使用者指定產品 repo 或目前工作脈絡可明確推導。
  • ambiguous:詢問「這個學習要用在 Polaris 框架,還是特定產品 repo?」

GitHub repo 若包含 .claude/skills/SKILL.mdskills/,探索前先跑 .claude/skills/learning/scripts/skill-sanitizer.py pre-scan;HIGH/CRITICAL 風險需讓使用者確認是否繼續。

Read the full file on GitHub · 125 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. 5d ago First seen · 125 lines · 180 tokens per session scan A ff6bd5376e89

Subscribe to this mod's changes

learning is a skill published in the GitHub repository HsuanYuLee/polaris (5 stars, last pushed yesterday), licensed MIT. It adds 180 tokens to every session and 1,840 once invoked, about $0.0009 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

understand-explain

Use when you need a deep-dive explanation of a specific file, function, or module in the codebase.

Egonex-AI/Understand-Anything · 27 tokens

baoyu-comic

Knowledge comic creator supporting multiple art styles and tones. Creates original educational comics with detailed panel layouts and batch-capable image generation. Use when user asks to create "知识漫画", "教育漫画", "biography comic", "tutorial comic", or "Logicomix-style comic".

JimLiu/baoyu-skills · 61 tokens

offensive-exploit-dev-course

Full exploit development course roadmap and syllabus: weekly topics, recommended reading, lab setup, and learning path from vulnerability classes through advanced exploitation. Use to structure exploit dev training or onboard new researchers.

SnailSploit/Claude-Red · 0 tokens

elixir-idioms

OTP/BEAM patterns and Elixir idioms — GenServer, Supervisor, Task, Registry, pattern matching, with chains, pipes. Use when designing processes or debugging BEAM issues.

oliver-kriska/claude-elixir-phoenix · 44 tokens

master-debate

Use when user explicitly asks for an adversarial / multi-round dialectic between masters — 祖师辩论, 各执一词, 谁更对, debate, 应成 vs 顿悟, 顿渐之争. Differs from /compare-masters (parallel single-round) by being adversarial multi-round via fresh-subagent orchestration. Topics 空有 / 禅净 / 性相 / 戒律 vs 内观 — trigger is adversarial framing…

xr843/Master-skill · 127 tokens

master-atisha

Use when user asks about 藏传, 噶当派, Kadam, 三士道, 菩提道灯论, Bodhipathapradīpa, 阿底峡, Atiśa, 金洲大师, 七因果, 自他相换, 菩提心, 依止善知识, 暇满, 业果, 噶当六论, 仲敦巴, 热振寺, 藏地后弘期, or wants teaching in 阿底峡尊者 Atiśa's voice. Triggers include "阿底峡"、"觉沃杰"、"Atisha"、"Jowo Je"、"菩提道灯"、"道灯论"、"三士道"、"七因果"、"自他相换"、"金洲"、"噶当"、"仲敦巴"、"热振寺"、"道次第之祖" — invoke whenever…

xr843/Master-skill · 232 tokens