Token导航 LogoToken导航

Agent Skill · 研究检索

cognitive-register(认知寄存器)

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

cognitive-register 是研究检索类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为需要联网;许可证信息还不明确,第三方扫描已通过,按安装量在研究检索类的 73,675 个 Skill 里排第 56,981。

总安装 442周安装 19GitHub Stars 6下载 155核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
unknown

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/synapsync/synapse_registry --skill cognitive-register

这个 Skill 是做什么的

研究检索类 Skill 主要解决「找资料、核对事实、把来源整理清楚」的问题,通常会让助手先检索再总结。

cognitive-register 自动化注册新技能、代理与工作流至 SynapSync 注册表。适用于在 Codex、Claude、Cursor、Gemini CLI 中标准化条目结构与命名规范。严格遵循 manifest schema 与索引格式,杜绝不一致性。

通过 GUARDA 指令触发注册流程,支持技能、代理、提示词等多种类型。需确保输入内容符合预设模板,否则拒绝注册。

来源仓库内路径:skills/cognitive-register

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/synapsync/synapse_registry --skill cognitive-r…;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要需要联网,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

cognitive-register 怎么安装?

在终端执行 npx skills add https://github.com/synapsync/synapse_registry --skill cognitive-register。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

cognitive-register 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

cognitive-register 需要什么权限?

权限级别是需要联网。该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

cognitive-register 是免费的吗?

公开资料没有标注明确许可证,收费和商用限制都无法确认。正式使用前请到来源仓库核对授权说明。

cognitive-register 用的人多吗?

公开数据是累计安装 442 次,近一周安装 19 次,下载 155 次,GitHub 6 星。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

cognitive-register 安全吗?

第三方扫描结果为通过,但这只覆盖已知的静态检查项,不能替代自己读一遍源码和安装命令。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。
  • 第三方扫描已通过,常见的高风险行为没有命中。

先想清楚的地方

  • 许可证没有明确标注,能不能商用、能不能再分发都不确定。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理研究检索类任务、又不想每次都手写提示词的人。

不太适合

  • 需要明确授权才能用到公司项目里的场景。
  • 需要厂商级技术支持和 SLA 的生产系统。

研究检索类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
find-skills

寻找技能 · Codex、Claude

31,199,81316,486操作浏览器MIT有提醒
self-improving-agent

自我改进 Agent · OpenClaw

16,464,0023,396接触敏感数据MIT-0通过
soultrace

灵魂追踪 · Codex、Claude

7,588,94412需要联网未明确有提醒
self-improving

自我完善 · OpenClaw

6,829,2841,046需要联网MIT-0通过
microsoft-foundry

微软代工厂 · Codex、Claude

6,614,144764调用外部服务未明确有提醒
cognitive-register

认知寄存器 · 本页

4426需要联网未明确通过

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

Purpose

Automate the registration of new cognitives into the SynapSync Registry, ensuring every entry follows the exact structure, naming conventions, manifest schema, and registry index format — with zero tolerance for inconsistencies.

When to Use This Skill

  • User says "GUARDA X SKILL": Register a new skill with its content
  • User says "GUARDA X AGENT": Register a new agent with its content
  • User says "GUARDA X PROMPT": Register a new prompt with its content
  • User says "GUARDA X WORKFLOW": Register a new workflow with its content
  • User says "GUARDA X TOOL": Register a new tool with its content
  • User says "REGISTRA" or "AGREGA": Same as above, alternative trigger words
  • User provides cognitive content and asks to save it: Infer type from content and register
  • English equivalents: "SAVE X SKILL", "REGISTER X AGENT", "ADD X PROMPT"

Trigger Pattern Recognition

The skill responds to these patterns (case-insensitive, Spanish or English):

GUARDA [el|la|un|una]? {name} [como]? SKILL|AGENT|PROMPT|WORKFLOW|TOOL
REGISTRA [el|la|un|una]? {name} [como]? SKILL|AGENT|PROMPT|WORKFLOW|TOOL
AGREGA [el|la|un|una]? {name} [como]? SKILL|AGENT|PROMPT|WORKFLOW|TOOL
SAVE {name} [as]? SKILL|AGENT|PROMPT|WORKFLOW|TOOL
REGISTER {name} [as]? SKILL|AGENT|PROMPT|WORKFLOW|TOOL
ADD {name} [as|to]? SKILL|AGENT|PROMPT|WORKFLOW|TOOL

If the user provides the cognitive content inline or in a previous message, use that content directly. If no content is provided, ask the user for it.

Registry Structure (Source of Truth)

synapse-registry/
├── registry.json                          # Central index — MUST be updated
├── cognitives/                            # Public registry content
│   ├── skills/{category}/{name}/
│   │   ├── manifest.json                  # Metadata
│   │   ├── SKILL.md                       # Content file
│   │   └── assets/                        # Optional templates/schemas
│   ├── agents/{category}/{name}/
│   │   ├── manifest.json
│   │   └── {name}.md                      # Content file (uses cognitive name)
│   ├── prompts/{category}/{name}/
│   │   ├── manifest.json
│   │   └── PROMPT.md
│   ├── workflows/{category}/{name}/
│   │   ├── manifest.json
│   │   └── WORKFLOW.yaml
│   └── tools/{category}/{name}/
│       ├── manifest.json
│       └── TOOL.md
└── core/                                  # Internal tooling (not published)
    └── register/                          # This skill

Valid Categories

CategoryUse For
generalGeneral-purpose, meta-tools, internal tooling
frontendUI, React, CSS, components
backendAPIs, servers, backend services
databaseDatabase queries, migrations, ORMs
devopsCI/CD, infrastructure, deployment
securitySecurity analysis, vulnerability scanning
testingTesting strategies, QA automation
analyticsData analysis, research, benchmarking
automationTask automation, workflows
integrationsExternal services (Supabase, Stripe, etc.)
planningProject planning, SDLC, requirements, architecture

If the cognitive doesn't clearly fit a category, default to general. If the user specifies a category, use it even if it's new — the registry supports extensibility.

Valid Providers

claude, openai, cursor, windsurf, copilot, gemini, codex

Default: All providers unless the cognitive is provider-specific (e.g., an agent using Claude-only features).

Cognitive Type → Content File Mapping

TypeContent FileNotes
skillSKILL.mdMarkdown with YAML frontmatter
agent{name}.mdNamed after the cognitive, YAML frontmatter
promptPROMPT.mdMarkdown with YAML frontmatter
workflowWORKFLOW.yamlPure YAML definition
toolTOOL.mdMarkdown with YAML frontmatter

Registration Workflow

Step 1: Parse the Request

Extract from the user's message:

  1. Cognitive name: The identifier (convert to kebab-case)
  2. Cognitive type: skill, agent, prompt, workflow, or tool
  3. Content: The actual cognitive content (inline, previous message, or ask)
  4. Category: Infer from content/context or ask the user

Name normalization rules:

  • Convert to lowercase
  • Replace spaces with hyphens
  • Remove special characters except hyphens
  • Examples: "Project Planner" → project-planner, "API Error Handler" → api-error-handler

Step 2: Validate Uniqueness

Before creating anything, check that no cognitive with the same name exists:

  1. Read registry.json
  2. Search for the name in the cognitives array
  3. If a duplicate exists, inform the user and ask how to proceed:

- Update the existing cognitive (bump version) - Choose a different name - Cancel

Step 3: Create Directory Structure

mkdir -p cognitives/{type}s/{category}/{name}

The directory follows the pattern: cognitives/{type}s/{category}/{name}/

Examples:

  • cognitives/skills/general/my-skill/
  • cognitives/agents/devops/deploy-manager/
  • cognitives/prompts/frontend/component-generator/

Step 4: Create Content File

Write the cognitive content to the appropriate file:

  • skill → cognitives/{type}s/{category}/{name}/SKILL.md
  • agent → cognitives/{type}s/{category}/{name}/{name}.md
  • prompt → cognitives/{type}s/{category}/{name}/PROMPT.md
  • workflow → cognitives/{type}s/{category}/{name}/WORKFLOW.yaml
  • tool → cognitives/{type}s/{category}/{name}/TOOL.md

If the user provided content with YAML frontmatter, use it as-is. If not, ensure the content has proper frontmatter before writing.

Step 5: Create manifest.json

Every cognitive MUST have a manifest.json in its directory:

{
  "$schema": "https://synapsync.dev/schemas/cognitive-manifest.json",
  "name": "{name}",
  "type": "{type}",
  "version": "1.0.0",
  "description": "{max 100 chars — extracted from content or user input}",
  "author": {
    "name": "SynapSync",
    "url": "https://github.com/SynapSync",
    "email": "hello@synapsync.dev"
  },
  "license": "Apache-2.0",
  "category": "{category}",
  "tags": ["{tag1}", "{tag2}", "...max 10 tags"],
  "providers": ["claude", "openai", "cursor", "windsurf", "copilot", "gemini"],
  "file": "{content-file-name}",
  "repository": {
    "type": "git",
    "url": "https://github.com/SynapSync/skills-registry"
  },
  "homepage": "https://synapsync.dev/cognitives/{name}",
  "createdAt": "{ISO 8601 current date}T00:00:00Z",
  "updatedAt": "{ISO 8601 current date}T00:00:00Z"
}

Field extraction rules:

  • name: From the parsed request (kebab-case)
  • description: From YAML frontmatter description field, trimmed to 100 chars. Remove trigger text — only keep the functional description
  • tags: Infer from content topics, category, and type. Maximum 10 tags
  • providers: Default to all providers unless content indicates provider-specific features
  • file: Based on type mapping (see table above)
  • createdAt/updatedAt: Current date in ISO 8601

Step 6: Update registry.json

Add the new cognitive to registry.json:

  1. Read current registry.json
  2. Increment totalCognitives by 1
  3. Append a new entry to the cognitives array:
{
  "name": "{name}",
  "type": "{type}",
  "version": "1.0.0",
  "description": "{same as manifest description}",
  "author": "synapsync",
  "category": "{category}",
  "tags": ["{same tags as manifest}"],
  "providers": ["{same providers as manifest}"],
  "downloads": 0,
  "path": "cognitives/{type}s/{category}/{name}"
}

Critical: The registry.json entry uses "author" as a flat string (not an object), unlike manifest.json which uses an author object.

Step 7: Confirmation

After successful registration, report:

  • Created files and their paths
  • Updated registry.json with new count
  • The cognitive's full path in the registry

Validation Rules (Enforced on Every Registration)

These rules are non-negotiable. If any fails, fix it before completing:

RuleRequirement
Unique nameNo other cognitive in registry.json has the same name
Valid manifest.jsonAll required fields present, matches schema
Content file existsThe file referenced in manifest.file exists
Frontmatter consistencyFrontmatter name matches manifest.name
Valid categoryCategory is from the valid categories list
Tags limitMaximum 10 tags
Description lengthMaximum 100 characters in manifest/registry description
Name formatLowercase, hyphens only, no spaces or special chars
Version formatSemantic versioning (e.g., 1.0.0)
Path formatcognitives/{type}s/{category}/{name} matches actual directory
registry.json synctotalCognitives count matches actual array length

Naming Convention Reference

PatternWhen to UseExamples
{technology}Generic technology skilltypescript, react-hooks
{tech}-{feature}Technology + specific featurereact-testing, node-logging
{framework}-{component}Framework + component typenextjs-api, express-middleware
{action}-{target}Action-oriented namingskill-creator, code-reviewer
{domain}-{function}Domain + functionauth-validator, data-migrator

Bad names: utils, helpers, common, misc, project1, test, new-skill Good names: cognitive-registrar, api-error-handler, feature-branch-manager

Critical Patterns

Pattern 1: Always Read Before Write

Before creating any file, read registry.json to verify:

  • The name doesn't already exist
  • The current totalCognitives count
  • The existing structure to maintain consistency

Pattern 2: Description Extraction

When extracting a description from content frontmatter:

  • Remove the Trigger: portion — descriptions should be functional, not trigger-based
  • Trim to 100 characters maximum
  • Make it action-oriented: "Creates...", "Manages...", "Analyzes..."

Example:

# Frontmatter says:
description: >
  Comprehensive project planning framework with structured analysis, planning, and execution phases.
  Trigger: When planning a new feature...

# manifest.json/registry.json gets:
"description": "Comprehensive project planning framework with analysis, planning, and execution phases"

Pattern 3: Tag Inference

Generate tags by analyzing:

  1. The cognitive type itself (e.g., skill, agent)
  2. Key topics from the content (e.g., planning, git, testing)
  3. The category (e.g., devops, frontend)
  4. Action verbs from the purpose (e.g., automation, analysis)
  5. Technologies mentioned (e.g., react, typescript, docker)

Keep tags lowercase, hyphenated, and meaningful. Avoid redundant tags (don't add skill tag to a skill unless it's a meta-skill about skills).

Pattern 4: Provider Detection

Default to all providers. Restrict only when:

  • Content uses provider-specific syntax (e.g., Claude XML tags, OpenAI function calling)
  • The agent definition uses provider-specific fields (e.g., model: sonnet)
  • The user explicitly states provider restrictions

Pattern 5: Atomic Registration

All three artifacts (content file, manifest.json, registry.json) must be created/updated in a single operation. Never leave the registry in a partial state:

  • If content file creation fails, don't update registry.json
  • If manifest.json creation fails, clean up the content file
  • Always verify the final state after all writes

Pattern 6: Category Directory Creation

If the category directory doesn't exist under the type directory, create it:

# If cognitives/skills/planning/ doesn't exist yet
mkdir -p cognitives/skills/planning/project-planner

This is valid — the registry supports new categories as the ecosystem grows.

Best Practices

Before Registration

  1. Verify the cognitive content is complete: Don't register stubs or placeholders
  2. Check for duplicates: Search by name AND by similar descriptions
  3. Validate frontmatter: Ensure all required fields exist in the content file
  4. Confirm category: If uncertain, ask the user

During Registration

  1. Create files in order: Directory → Content file → manifest.json → registry.json
  2. Use consistent dates: Same createdAt and updatedAt for new cognitives
  3. Match descriptions: manifest.json and registry.json descriptions must be identical
  4. Match tags and providers: manifest.json and registry.json must have identical arrays

After Registration

  1. Verify registry.json: Read it back to confirm the entry was added correctly
  2. Confirm totalCognitives: Ensure count matches array length
  3. Report to user: List all created files and the registry path

Integration with Other Skills

With skill-creator

Use skill-creator to generate the SKILL.md content, then use cognitive-registrar to register it in the registry.

With feature-branch-manager

After registering a cognitive, use feature-branch-manager to commit the changes and create a PR.

Limitations

  1. No automated validation CI: Validation is performed at registration time by the AI, not by a CI pipeline
  2. No version bumping: Currently registers new cognitives at 1.0.0. Version updates require manual intervention
  3. No dependency resolution: Does not check if referenced skills/agents in content actually exist
  4. Single registry: Only manages the synapse-registry — does not publish to external registries

Troubleshooting

Issue: "Name already exists in registry"

Solution: Check registry.json for the existing entry. Offer the user options: update the existing cognitive (bump version), choose a different name, or cancel.

Issue: "Category directory doesn't exist"

Solution: This is normal for new categories. The mkdir -p command handles this automatically. The registry supports extensible categories.

Issue: "Content has no YAML frontmatter"

Solution: If the user provides raw content without frontmatter, generate the frontmatter based on the cognitive name, type, and inferred metadata before writing the file.

Issue: "Description exceeds 100 characters"

Solution: Truncate intelligently — don't cut mid-word. Rephrase to be more concise while preserving meaning.

Issue: "registry.json totalCognitives is out of sync"

Solution: Count the actual entries in the cognitives array and set totalCognitives to match. Never trust the existing count — always recalculate.

Example: Registering a Skill

User says: GUARDA project-planner SKILL (with content provided)

AI executes:

  1. Parse: name=project-planner, type=skill, category=planning (inferred from content)
  2. Check registry.json → no duplicate found
  3. Create cognitives/skills/planning/project-planner/
  4. Write cognitives/skills/planning/project-planner/SKILL.md (user's content)
  5. Write cognitives/skills/planning/project-planner/manifest.json
  6. Update registry.json:

- totalCognitives: 2 → 3 - Add entry with "path": "cognitives/skills/planning/project-planner"

  1. Confirm: "Registered project-planner skill in cognitives/skills/planning/project-planner/"

Example: Registering an Agent

User says: GUARDA deploy-automator AGENT (with content provided)

AI executes:

  1. Parse: name=deploy-automator, type=agent, category=devops (inferred)
  2. Check registry.json → no duplicate found
  3. Create cognitives/agents/devops/deploy-automator/
  4. Write cognitives/agents/devops/deploy-automator/deploy-automator.md (note: agents use {name}.md)
  5. Write cognitives/agents/devops/deploy-automator/manifest.json with "file": "deploy-automator.md"
  6. Update registry.json
  7. Confirm registration

Version History

  • 1.0 (2026-01-28): Initial release with full registration workflow for all cognitive types

平台分布

Codex

33.74%
按下载量换算52

Claude

30.58%
按下载量换算47

Cursor

19.87%
按下载量换算31

Gemini CLI

9.77%
按下载量换算15

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

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

继续浏览同类 Skills