AGENT SKILL

self-learning

Autonomous skill generator that learns new technologies from the web. Use when, users want to learn about a new library/framework/tool, need to create a skill for an unfamiliar technology, want to research and document a technology's usage patterns, or invoke with `/learn TOPIC`. This skill uses web search and browser tools to discover, extract, and synthesize documentation into a reusable skill.

License 许可
MIT
最近更新
2026-11-12
Stars
★ 1
Forks
0

01 前言 Front Matter

name
self-learning
uses
[ "[[plugin/10x-swe/web-research/SKILL]]" ]
metadata
{ "skill-graph-id": "plugin/10x-swe/self-learning", "skill-graph-uses": "plugin/10x-swe/web-research", "skill-graph-used-by": "" }
description
Autonomous skill generator that learns new technologies from the web. Use when, users want to learn about a new library/framework/tool, need to create a skill for an unfamiliar technology, want to research and document a technology's usage patterns, or invoke with `/learn TOPIC`. This skill uses web search and browser tools to discover, extract, and synthesize documentation into a reusable skill.

02 资源文件 1

03 SKILL.md 正文

Self-Learning Skill Generator

Autonomously research and learn new technologies from the web, then generate a reusable skill.

Usage

/learn <topic>

If <topic> is missing, show usage. If topic is ambiguous, ask to clarify:

  • "react" → "React for web, React Native, or a specific library like react-query?"
  • "apollo" → "Apollo GraphQL client, Apollo Server, or Apollo Federation?"
  • "aws" → "Which AWS service? (S3, Lambda, DynamoDB, etc.)"

Normalize to kebab-case for filenames.

2. Discover Sources (Web Search)

Use web search tool to find authoritative documentation:

Use [[plugin/10x-swe/web-research/SKILL]] for provider selection, extraction and evidence handling. Research routes do not authorize skill installation or publication.

Search queries to try:

  1. <topic> official documentation
  2. <topic> getting started guide
  3. <topic> API reference
  4. <topic> GitHub repository

Source prioritization:

  1. Official docs sites (e.g., docs.*, *.dev)
  2. Official GitHub repositories (README, /docs)
  3. Official blogs/announcements

Select 3–5 high-quality URLs maximum.

Keep the selected source URLs with the generated skill. If the user authorizes saving those URLs to Readwise and the CLI is already configured, use the command below. Check that the URLs may be sent to that destination; otherwise continue without an external write:

readwise reader-create-document --url "<source_url>" --tags "self-learning,<topic>"

If no credible sources found, ask user to provide a URL.


3. Extract Content (URL Reading)

For each selected URL, read the content:

Extract only relevant sections:

  • Installation / setup
  • Core concepts
  • API reference / key functions
  • Common patterns / examples
  • Version information

Skip irrelevant content:

  • Navigation, ads, login prompts
  • Unrelated sidebar content
  • Comments, forums

If reading the content fails (JavaScript-heavy sites), fall back to browser agent:

Task: Navigate to <URL> and extract the main content including:
- Installation instructions
- Core concepts and API reference
- Code examples
Return the extracted content as markdown.

Record scrape timestamp for each source (use current date: YYYY-MM-DD format).


4. Generate Skill

Skills are modular, self-contained packages. Every skill consists of a required SKILL.md file and optional bundled resources:

skill-name/
├── SKILL.md (required)
│   ├── YAML frontmatter metadata (required)
│   │   ├── name: (required)
│   │   └── description: (required)
│   └── Markdown instructions (required)
└── Bundled Resources (optional)
    ├── scripts/          - Executable code (Python/Bash/etc.)
    ├── references/       - Documentation intended to be loaded into context as needed
    └── assets/           - Files used in output (templates, icons, fonts, etc.)
  1. Read references/skill_creation_guide.md to understand the format and principles.
  2. Synthesize the learned and extracted information into a new skill.
    • Trigger: Write a description that clearly defines when to use it.
    • Workflow: Create step-by-step instructions.
    • Format: Ensure valid YAML frontmatter and proper file structure.

5. Save the Skill

Antigravity supports two types of skills, save a global-workspace if asked.

  • .agent/skills/<skill-folder>/ Workspace-specific
  • ~/.gemini/antigravity/skills/<skill-folder>/ Global (all workspaces)

Create directory if it doesn't exist, warn user before overwriting existing skill.


6. Confirm to User

Report:

✓ Created skill: <topic>
  Sources scraped: <N>
  Saved to: .agent/skills/<topic>/SKILL.md
  This skill will auto-trigger when working with <topic>.

Tool Reference

  • search_web: Discover documentation URLs
  • read_url_content: Extract content from static pages
  • browser_subagent: Extract content from JavaScript-heavy sites
  • write_to_file: Save the generated skill

Critical Rules

  1. Never hallucinate documentation: Only include information from scraped sources.
  2. Never invent APIs: If documentation is unclear, ask the user what to do.
  3. Ask for URLs: If automated discovery fails, ask user for specific URLs.
  4. Verify sources: Prefer official sources over third-party tutorials.

04 同仓库更多 Skills

cercova-studios
cercova-studios/10x-swe

10x-mode

Route a hard engineering task to one existing workflow. Use for a bug fix, refactor, feature, architecture or investigation, parallel work, or finishing a branch or pull request, including when the user asks for 10x-mode.

★ 1
cercova-studios
cercova-studios/10x-swe

turnstile-spin

Set up Cloudflare Turnstile end-to-end in a project. Scan the codebase, create the widget via the Cloudflare API, embed it where user requests need bot verification (form submissions, SPA actions, API endpoints, download links, comment or vote submissions, etc.), wire canonical server-side siteverify in the customer's existing backend, validate, and persist the skill. Load this when a user asks to add Turnstile, set up CAPTCHA, protect a form or endpoint from bots, or fix a Turnstile integration. Uses Cloudflare's documented Turnstile contract.

★ 1
cercova-studios
cercova-studios/10x-swe

frontend-design

Create distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.

★ 1
cercova-studios
cercova-studios/10x-swe

来源证据与洞察管理

source-insights

整理已检查的来源证据,保留精确引用,并将审阅后的洞察发布到明确的本地库中。

知识工作者知识管理与沉淀
★ 1
cercova-studios
cercova-studios/10x-swe

技能图谱发现

skill-graph

通过独立的词汇搜索、关系路径和终端图谱来发现技能与工作流。

AI 工程师插件与技能管理
★ 1
cercova-studios
cercova-studios/10x-swe

会话记录检索

session-search

召回公开的会话轮次,附带精确来源、有限摘录和独立的管道导出。

知识工作者会话数据采集与归档
★ 1