Token导航 LogoToken导航TokenDH.com
研究检索执行命令github未标认证来源可访问许可证需确认审计异常

learn学习

Agent Skill

learn 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

235

周安装

10

GitHub Stars

9

下载量

82
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:learn(学习)
来源仓库:https://github.com/florianbuetow/claude-code
仓库路径:skills/learn
安装命令:
npx skills add https://github.com/florianbuetow/claude-code --skill learn
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/florianbuetow/claude-code --skill learn

简介

用于查找、检索和筛选相关信息。learn 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

  • 适合根据关键词快速定位候选结果。
  • 可结合来源仓库继续核验具体用法。
  • 安装前建议确认权限和维护状态。适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。
  • 注意是否会触发联网或文件读写。

SKILL.md

AppSec Learn -- Interactive Security Walkthrough

Guided, interactive learning experience that teaches security concepts using the user's own codebase as teaching material. Combines explanation with hands-on discovery -- the user finds real vulnerabilities in their own code as they learn about each category.

This skill runs entirely in the main agent context. It does NOT dispatch subagents. It is interactive and conversational -- ask questions, wait for answers, then reveal findings.

Learning Modes

Detect the topic from the user's message:

User SaysModeCurriculum
"learn owasp", "teach me owasp"OWASP WalkthroughAll 10 categories
"learn stride", "teach me stride"STRIDE WalkthroughAll 6 categories
"learn red-team", "learn red teaming"Red Team WalkthroughAll 6 personas
"learn injection", "learn A03"Single Category Deep DiveOne category
"learn security", "security tutorial"Guided SelectionAsk what to learn

Framework References

Load the relevant framework reference before starting:

ModeReference File
OWASP../../shared/frameworks/owasp-top10-2021.md
STRIDE../../shared/frameworks/stride.md
Red Team../../shared/frameworks/dread.md + all persona files in agents/
Single CategoryThe relevant framework file for that category

Walkthrough Structure

Each learning mode follows the same 4-step pattern per category. The key principle: NEVER just lecture. Always ground the concept in the user's own code, and always make them think before revealing answers.

Step 1: Explain the Concept

Present the category in plain language:

  • What it is (one sentence).
  • What security property it protects.
  • Why it matters (real-world impact with a notable breach example).
  • How it maps to other frameworks (OWASP <-> STRIDE <-> CWE).

Keep this brief. 5-8 sentences maximum. The user's code is the real teacher.

Step 2: Show Code from the User's Codebase

Search the user's codebase for patterns relevant to this category. Use Glob and Grep to find concrete examples. Show 2-3 code snippets with file paths and line numbers.

Present the code WITHOUT revealing whether it is vulnerable or secure. Frame it as: "Here is how your codebase handles [concept]. Look at these patterns..."

Search strategy by category:

CategoryWhat to Search For
Injection (A03)Database queries, template rendering, shell commands, user input handling
Access Control (A01)Route middleware, authorization checks, role guards, IDOR-prone endpoints
Crypto (A02)Hashing functions, encryption calls, TLS config, key storage
Auth (A07)Login handlers, session management, password storage, token generation
Spoofing (S)Authentication flows, token validation, session handling
Tampering (T)Input validation, request parsing, file operations
Info Disclosure (I)Error handlers, logging statements, API responses
DoS (D)Regex patterns, file uploads, resource allocation, unbounded loops
Red TeamAttack surface entry points, auth boundaries, data flows

If no relevant code is found for a category, use a generic example and note that the category may not be applicable to this codebase.

Step 3: Ask Questions

Ask the user 2-3 questions about the code you showed. These should guide them to discover potential issues themselves:

  • "What happens if [input] contains [malicious value]?"
  • "Is there anything checking that the user owns this resource?"
  • "What would an attacker see if they triggered this error handler?"
  • "Could a malicious user bypass this check? How?"

Wait for the user to respond before proceeding. Do NOT reveal the answers in the same message as the questions.

Step 4: Reveal and Discuss

After the user responds (or asks to see the answer):

  1. Confirm what they got right.
  2. Explain what they missed and why it matters.
  3. Show the specific vulnerability (if one exists) with the attack scenario.
  4. Show the fix -- both the code change and the principle behind it.
  5. Cross-reference to frameworks: "This is CWE-89, which OWASP categorizes as A03, and STRIDE classifies as Tampering (T)."

Then offer to continue to the next category or dive deeper.

OWASP Walkthrough Curriculum

Walk through all 10 categories in priority order (most commonly exploited first, not numerical order):

  1. A03: Injection -- SQL, NoSQL, OS command, template injection
  2. A07: Auth Failures -- Credential stuffing, weak passwords, sessions
  3. A01: Broken Access Control -- IDOR, missing deny-by-default, CORS
  4. A02: Cryptographic Failures -- Weak hashing, cleartext, key mgmt
  5. A05: Security Misconfiguration -- Defaults, verbose errors, headers
  6. A10: SSRF -- Unvalidated URLs, internal network access
  7. A08: Integrity Failures -- Deserialization, CI/CD, unsigned updates
  8. A06: Vulnerable Components -- Known CVEs, unmaintained packages
  9. A09: Logging Failures -- Missing audit trail, log injection
  10. A04: Insecure Design -- Missing threat modeling, business logic flaws

STRIDE Walkthrough Curriculum

Walk through all 6 categories mapping each to the security property it protects:

  1. S -- Spoofing (Authentication) -- Identity impersonation, session hijack
  2. T -- Tampering (Integrity) -- Input manipulation, data modification
  3. R -- Repudiation (Non-repudiation) -- Missing audit trail, log gaps
  4. I -- Information Disclosure (Confidentiality) -- Data leaks, error messages
  5. D -- Denial of Service (Availability) -- Resource exhaustion, ReDoS
  6. E -- Elevation of Privilege (Authorization) -- Horizontal/vertical escalation

Red Team Walkthrough Curriculum

Teach offensive security thinking by walking through each attacker persona:

  1. Script Kiddie -- Automated tools, known CVEs, low-hanging fruit. "What can an attacker with zero skill but lots of tools find?"
  2. Insider -- Privilege escalation, data exfiltration, audit gaps. "What can a disgruntled employee with a valid account do?"
  3. Organized Crime -- Financial fraud, account takeover, payment abuse. "What if the attacker's goal is money?"
  4. Hacktivist -- Data leaks, defacement, public embarrassment. "What if the goal is to make the news?"
  5. Nation State -- APT chains, persistent access, supply chain. "What if the attacker has unlimited time and resources?"
  6. Supply Chain -- Dependency poisoning, build pipeline, artifact integrity. "What if the attack comes through your dependencies?"

For each persona, load the persona file from agents/ and use its checklist to search the user's codebase for exploitable patterns.

Interaction Guidelines

  • Keep the tone conversational and encouraging, not lecturing.
  • Celebrate correct answers. Build on incorrect answers -- do not just say "wrong."
  • If the user wants to skip a category, skip it without judgment.
  • If the user wants to stop, summarize what was covered and suggest what to learn next time.
  • After completing a full walkthrough, offer to run the corresponding analysis: "Want me to run a full OWASP scan now? /appsec:owasp"
  • Adjust complexity based on the user's responses. If they immediately spot the SQL injection, skip the basics and go deeper. If they are struggling, add more context and simpler examples.

Progress Tracking

After each category, provide a brief progress indicator:

[3/10] OWASP Walkthrough
  Completed: A03 Injection, A07 Auth, A01 Access Control
  Next: A02 Cryptographic Failures
  Continue? (or type 'skip' to move on, 'stop' to finish)

Edge Cases

  • Empty codebase: Use generic examples and note that hands-on practice requires a codebase with relevant patterns.
  • No relevant patterns found: "Your code does not appear to have [pattern]. This is good! Let me show you what to watch for if you add [feature] in the future."
  • User asks a tangential question: Answer it briefly, then guide back to the curriculum. If the question deserves depth, suggest /appsec:explain <topic> for a full explanation.

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

34.35%
按下载量换算28

Claude

27.79%
按下载量换算23

Cursor

18.82%
按下载量换算15

Gemini CLI

9.51%
按下载量换算8

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

未通过

权限和风险

执行命令

安装流程涉及命令执行,可能通过 npx skills add https://github.com/florianbuetow/claude-code --skill learn 联网下载 Skill 或依赖。用户安装前应确认命令来源、仓库内容和执行环境。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills