Token导航 LogoToken导航TokenDH.com
研究检索操作浏览器github未标认证来源可访问许可证需确认审计通过

contribute-skill贡献技能

Agent Skill

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

总安装

17,692

周安装

688

GitHub Stars

18

下载量

9,643
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/haoxuanlithuai/awesome_cognitive_and_neuroscience_skills --skill 'Contribute Skill'

简介

contribute-skill 将领域知识转化为结构化 SKILL.md 并提交 Issue 供维护者审核。

  • 适合在 Codex、Claude、Cursor、Gemini CLI 中有新方法、流程或工具想沉淀为可复用技能时使用。
  • 自动格式化文档、生成模板 Issue,降低社区贡献门槛。
  • 需用户提供详细步骤、输入输出示例与使用场景说明。
  • 提交后等待维护者合并,未经审核不得宣称官方支持或广泛使用。

SKILL.md

Contribute Skill

Purpose

This meta-skill lets researchers contribute new domain knowledge skills to the repository without needing Git expertise. It generates a properly formatted SKILL.md from the user's domain knowledge and submits it as a GitHub Issue for maintainer review.

When to Use This Skill

Activate when the user:

  • Says "contribute a skill", "把这个方法做成 skill", "submit a new skill"
  • Wants to turn a discussion about methodology into a reusable skill
  • Has domain expertise they want to encode as a structured skill
  • Wants to contribute a skill from a paper they are reading

Research Planning Protocol

Before starting the contribution process, you MUST:

  1. Identify the knowledge source — Where does this domain knowledge come from? (paper, personal expertise, current session)
  2. Confirm domain specificity — Does this knowledge pass the litmus test: "Would a competent programmer who has never taken a cognitive science course get this wrong?"
  3. Outline the expected skill structure — What sections and parameters will the skill contain?
  4. Note potential gaps — What information might be missing or need verification?
  5. Present the contribution plan to the user and WAIT for confirmation before proceeding.

For detailed methodology guidance, see skills/research-literacy/SKILL.md.

⚠️ Verification Notice

This skill was generated by AI from academic literature. All parameters, thresholds, and citations require independent verification before use in research. If you find errors, please open an issue.


Prerequisites

This skill supports two submission methods:

  1. Direct submission via gh CLI (Recommended)

- Requires gh CLI installed and authenticated - Run gh auth status to check - Install from https://cli.github.com/ and run gh auth login

  1. Manual submission via web browser

- No gh CLI required - Opens GitHub Issues page in browser - User copies and pastes the generated content

The skill will check for gh availability and let the user choose their preferred method.


Interactive Flow

Step 1 — Source Confirmation

Q1: Where does this knowledge come from?

  • A specific paper (provide DOI or title)
  • Personal research experience
  • Current session discussion
  • Textbook or guidelines document
  • Other (free text)

Q2: What is the skill about? (free text — brief description of the methodology)

Q3: Suggested skill name?

  • Auto-suggest a kebab-case name based on the description
  • Let the user confirm or modify

If the source is a paper with DOI/title, check whether the paper-to-skill meta-skill would be more appropriate. If the user has the full paper available, suggest: "Since you have the full paper, the paper-to-skill skill can do a more thorough extraction. Would you like to use that instead?"

Step 2 — Content Generation

Generate a SKILL.md following the project conventions. The generated skill MUST include:

YAML Frontmatter:

---
name: "[Human-Readable Skill Name]"
description: "[One-sentence summary]"
domain: "[subdomain]"
version: "1.0.0"
review_status: "ai-generated"
papers:
  - "[Author, Year]"
dependencies:
  required:
    - research-literacy
---

Required Sections (in order):

  1. Purpose — What domain knowledge this skill encodes
  2. When to Use This Skill — Trigger conditions
  3. Research Planning Protocol — Standard preamble (adapt from template): ` ## Research Planning Protocol Before executing the domain-specific steps below, you MUST: 1. **State the research question** — What specific question is this analysis/paradigm addressing? 2. **Justify the method choice** — Why is this approach appropriate? What alternatives were considered? 3. **Declare expected outcomes** — What results would support vs. refute the hypothesis? 4. **Note assumptions and limitations** — What does this method assume? Where could it mislead? 5. **Present the plan to the user and WAIT for confirmation** before proceeding. For detailed methodology guidance, see skills/research-literacy/SKILL.md. `
  4. Verification Notice — Standard disclaimer: ## ⚠️ Verification Notice This skill was generated by AI from academic literature. All parameters, thresholds, and citations require independent verification before use in research. If you find errors, please [open an issue](https://github.com/HaoxuanLiTHUAI/awesome_cognitive_and_neuroscience_skills/issues).
  5. Domain-specific content — The actual skill logic with:

- Key parameters (every number cited with Author, Year — no page numbers) - Decision logic - Common pitfalls - Step-by-step methodology

Content Quality Rules:

  • Every numerical parameter must have a citation (Author, Year)
  • No page numbers in citations (high hallucination risk)
  • Skill must pass the litmus test: domain-specific, not general programming advice
  • Under 500 lines total
  • If content exceeds 500 lines, split into SKILL.md + references/ subdirectory

Step 3 — User Review and Submission Choice

Display the complete generated SKILL.md to the user.

First, check gh CLI availability:

gh auth status 2>&1

Then present submission options using AskUserQuestion:

If gh is available:

  • Submit via gh CLI (Recommended) — Direct submission to GitHub Issues
  • Open in browser — Manual submission via web interface
  • Save locally only — Save the file without submitting
  • Request modifications — Specify what to change
  • Abort — Cancel without saving

If gh is NOT available:

  • Open in browser — Manual submission via web interface
  • Save locally only — Save the file without submitting
  • Request modifications — Specify what to change
  • Abort — Cancel without saving

You MUST wait for explicit user confirmation before proceeding to Step 4.

Step 4 — Submit to GitHub

Based on the user's choice in Step 3:

Option A: Submit via gh CLI

Create a GitHub Issue with the community-skill label:

gh issue create \
  --repo "HaoxuanLiTHUAI/awesome_cognitive_and_neuroscience_skills" \
  --title "[Community Skill] skill-name-here" \
  --label "community-skill" \
  --body "ISSUE_BODY_HERE"

Issue body format:

## Contributed Skill: `skill-name-here`

### Source
- **Knowledge source**: [paper / experience / session / other]
- **Key references**: [papers cited in the skill]

### Contributor Notes
> [Any additional context from the user about this skill]

### Generated SKILL.md

<details>
<summary>Click to expand full SKILL.md</summary>

[Full SKILL.md content here]

</details>

---
*Submitted via the `contribute-skill` meta-skill.*

On success, display the Issue URL to the user:

✅ Skill submitted successfully!
🔗 Issue URL: [URL]

The maintainers will review your contribution. Thank you!

On failure, fall back to Option B.

Option B: Open in Browser

  1. Save the SKILL.md locally to the current directory as skill-name-here.md
  2. Prepare the issue body and save it as skill-name-here-issue.md
  3. Open the GitHub Issues page:
xdg-open "https://github.com/HaoxuanLiTHUAI/awesome_cognitive_and_neuroscience_skills/issues/new?labels=community-skill&title=%5BCommunity%20Skill%5D%20skill-name-here" 2>/dev/null || \
open "https://github.com/HaoxuanLiTHUAI/awesome_cognitive_and_neuroscience_skills/issues/new?labels=community-skill&title=%5BCommunity%20Skill%5D%20skill-name-here" 2>/dev/null || \
echo "Please open: https://github.com/HaoxuanLiTHUAI/awesome_cognitive_and_neuroscience_skills/issues/new?labels=community-skill"
  1. Inform the user:
✅ Files saved:
   - skill-name-here.md (the skill)
   - skill-name-here-issue.md (issue body to copy)

🌐 Opening GitHub Issues in your browser...

📋 Next steps:
1. Copy the content from skill-name-here-issue.md
2. Paste it into the issue body
3. Submit the issue

The maintainers will review your contribution. Thank you!

Option C: Save Locally Only

Save the SKILL.md to the current directory as skill-name-here.md:

✅ Skill saved to: skill-name-here.md

You can submit it later by:
1. Opening https://github.com/HaoxuanLiTHUAI/awesome_cognitive_and_neuroscience_skills/issues/new
2. Using the label "community-skill"
3. Copying the skill content into the issue

Litmus Test Enforcement

Before generating the skill, verify each piece of content against the litmus test:

"Would a competent programmer who has never taken a cognitive science course get this wrong?"
  • If YES → Include it (this is domain knowledge)
  • If NO → Exclude it (this is general knowledge)

Flag any borderline items to the user for their decision.

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Codex

34.41%
按下载量换算3,318

Claude

29.57%
按下载量换算2,851

Cursor

19.1%
按下载量换算1,842

Gemini CLI

9.51%
按下载量换算917

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

操作浏览器

该 Skill 可能涉及浏览器控制能力,使用时可能读取或操作网页内容,需要在受控环境中确认权限边界。

安装前确认

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

来源信息

继续浏览同类 Skills