原型 · 预览版:收录官方注册中心里的全部服务器,每 30 分钟同步一次。使用 Google 登录即可撰写评价。原型 · 每 30 分钟更新
PopNx MCP为使用 AI 的人准备的 MCP 服务器 · 用大白话讲清楚

synalinks-skills Skill

代码仓库 ↗

作者:SynaLinks★ 9121 个 skill

安装

What it does

Coding Agents skills for Synalinks OSS

  • Connects Instruction files the AI reads, with steps that call an outside service
  • Account or key Some steps need a key for TYPESAFE_API_KEY, OpenAI, Azure (per the README)
  • Category 写代码
给作者:在 README 中加徽章

如果你是作者,可把这段代码贴到 README。徽章会链接回本页。

[![Featured on PopNx MCP](https://mcp.popnx.com/badge/skill/synalinks-synalinks-skills.svg)](https://mcp.popnx.com/en/skills/synalinks-synalinks-skills)

可搭配使用

在同一工作中把 AI 连到服务的 MCP

REA

Reverse engineer anything from your terminal or agent with one CLI and MCP server.

作者:morluto广泛使用↓ 38.9万/周★ 46.6万6天前更新

MCP · 连接服务在你的电脑上运行

Fallow

Codebase intelligence for TypeScript and JavaScript, exposed as structured MCP analysis tools.

作者:fallow-rs广泛使用↓ 244.1万/周★ 5379昨天更新

MCP · 连接服务在你的电脑上运行

Desktop Commander

MCP server for terminal commands, file operations, and process management

作者:wonderwhy-er广泛使用↓ 74万/周★ 1万6天前更新

MCP · 连接服务在你的电脑上运行

相似的 Skill

同类工作,排序与 Skill 列表相同

与相似项目对比
本项
synalinks-skills
reaandrej-karpathy-skillsgraphifyMoneyPrinterTurbo
作者SynaLinksmorlutomultica-aiGraphify-Labsharry0703
Skill 数11111
GitHub 星标912467,235234,125149,873144,332
最近代码更新2026年11月17日2026年11月18日2026年4月20日2026年11月18日2026年11月18日
许可证Apache-2.0MIT–Apache-2.0MIT

SynaLinks 提供的 1 个 Skill(指令集),AI 读取后照做 · 不是 MCP server

Skill 和 MCP 有什么不同

MCP = 手

把 AI 连到外部服务或数据,例如读取 Notion 或开发票。需要有程序或服务器在运行。

Skill = 手册

教 AI 怎么做某项工作的文本文件,不连接任何服务。

有些会重叠:少数 Skill 带有调用工具的脚本,少数 MCP 只提供知识。请从你想完成的工作出发。

适用的应用

Claude CodeClaude (เว็บ/แอป)CodexCursorGemini CLIGitHub CopilotWindsurfOpenCode

依据开发者 README 和 repo 中的文件夹

安装

Is it safe?

  • Who made it

    GitHub account SynaLinks (organization), 3 years old

  • Use and upkeep

    ★ 912 stars · code last changed 2026年11月17日

  • Any scripts?

    18 scripts that can run on a computer: scripts/chain_of_thought.py, scripts/conditional_branches.py, scripts/custom_dataset.py, scripts/custom_module.py and 14 more

  • Uses the internet?

    Could not check every script (some are too large); read them first

  • Changes machine-wide settings?

    No hooks or writes to machine settings found

Checked automatically from the repo files at commit 1753284 (read only, nothing was run). Not a safety guarantee: read it and decide for yourself

第一步:你用哪个 AI?

选择你用的应用,本页只显示该应用的安装方法

Option 1Upload to claude.ai (web and app)

Uploading to claude.ai would fail: the description is over 200 characters (990). Use "Let the AI install it" instead

Option 1让 Claude Code 帮你安装

复制这句话,粘贴到 Claude Code 的对话中

Where to install
Please install the skill synalinks from https://github.com/synalinks/synalinks-skills folder skills/synalinks (commit 1753284) for all my projects, at ~/.claude/skills/synalinks. First show me every file and tell me whether it has scripts or changes machine settings, then tell me the full path you will install to and wait for me to agree.
Please install the skill synalinks from https://github.com/synalinks/synalinks-skills folder skills/synalinks (commit 1753284) into the project this chat is open in (at .claude/skills/synalinks). First show me every file and tell me whether it has scripts or changes machine settings, then tell me the project name and the full path you will install to and wait for me to agree.

For one project, paste it into a chat that is open in that project’s folder · The AI always shows you the path before installing

The AI tells you what it will do first and asks your permission at every step

重新打开 Claude Code,输入 /synalinks,或直接提出相关任务,Claude 会自动选用

Checked against official docs 2026年11月12日 · Source: code.claude.com

For Terminal users

Skill 是 AI 会照做的指令。安装前先阅读文件,只安装可信开发者的 Skill。

开发者推荐的方式

安装 Node.js(如果还没有)

已经装好了吗?先检查 · 打开终端,输入这条命令后按 Enter

node -v
  • 显示版本号(例如 v26.13.1)= 已安装,可跳过这一步
  • 显示 "command not found"(Windows 显示 "is not recognized")= 还没安装,或刚装好但需要关掉终端再重新打开
怎么打开终端

Mac:按 ⌘ + Space,输入 Terminal 后按 Enter

Windows:打开“开始”菜单,输入 Windows PowerShell,然后选“打开”

还没安装: 打开官方下载页,选择 LTS 版本和点选式安装程序:Mac 用 .pkg · Windows 用 .msi。双击后一路下一步即可,不需要 curl 命令

打开 Node.js 下载页 ↗

装好后关掉终端再打开,重新运行同一条命令,应显示版本号: node -v

安装一次,所有需要 Node.js 的工具都能用

npx skills add SynaLinks/synalinks-skills --skill synalinks

摘自开发者 README,会下载并运行开发者的代码

  1. 打开终端

    Mac:按 Command+空格输入 Terminal · Windows:下方命令在 PowerShell 中无法使用,请改用上方的“让 AI 帮你安装”

  2. 把 skill 文件夹复制到 ~/.claude/skills

    这条命令把 repo 下载到临时文件夹,只复制含 SKILL.md 的文件夹

    git clone --depth 1 https://github.com/synalinks/synalinks-skills.git /tmp/popnx-skill-synalinks-synalinks-skills-1753284 && mkdir -p ~/.claude/skills && cp -R '/tmp/popnx-skill-synalinks-synalinks-skills-1753284/skills/synalinks' ~/.claude/skills/synalinks
  3. 重新打开 Claude Code,输入 /synalinks,或直接提出相关任务,Claude 会自动选用

自己安装的 Skill 可用于 ChatGPT 桌面应用、Codex CLI 和 IDE 中的 Codex 扩展 · 网页版和手机版 ChatGPT 不能使用自己安装的 Skill,只能使用目录中插件自带的 Skill

ChatGPT 桌面应用

ChatGPT 桌面应用内置 Codex,Codex 从 ~/.agents/skills 文件夹读取 Skill

Option 1让 ChatGPT 帮你安装

在 ChatGPT 桌面应用中打开 Codex,把这句话粘贴到对话中

Where to install
Please install the skill synalinks from https://github.com/synalinks/synalinks-skills folder skills/synalinks (commit 1753284) for all my projects, at ~/.agents/skills/synalinks. First show me every file and tell me whether it has scripts or changes machine settings, then tell me the full path you will install to and wait for me to agree.
Please install the skill synalinks from https://github.com/synalinks/synalinks-skills folder skills/synalinks (commit 1753284) into the project this chat is open in (at .agents/skills/synalinks). First show me every file and tell me whether it has scripts or changes machine settings, then tell me the project name and the full path you will install to and wait for me to agree.

The AI always shows you the path before installing

The AI tells you what it will do first and asks your permission at every step

Option 2自己放入文件夹

把 synalinks 文件夹放到 ~/.agents/skills/synalinks

~ 是你的主文件夹($HOME)

For Terminal users

Skill 是 AI 会照做的指令。安装前先阅读文件,只安装可信开发者的 Skill。

  1. 打开终端

    Mac:按 Command+空格输入 Terminal · Windows:下方命令在 PowerShell 中无法使用,请改用上方的“让 AI 帮你安装”

  2. 把 skill 文件夹复制到 ~/.agents/skills

    这条命令把 repo 下载到临时文件夹,只复制含 SKILL.md 的文件夹

    git clone --depth 1 https://github.com/synalinks/synalinks-skills.git /tmp/popnx-skill-synalinks-synalinks-skills-1753284 && mkdir -p ~/.agents/skills && cp -R '/tmp/popnx-skill-synalinks-synalinks-skills-1753284/skills/synalinks' ~/.agents/skills/synalinks

安装之后

  • ChatGPT 桌面应用:打开侧边栏中的 Skills,确认 Skill 已出现
  • 使用方法:在 ChatGPT 中输入 @ 并选择 Skill · 在 Codex CLI 或 IDE 扩展中运行 /skills,或输入 $ 加 Skill 名称
  • Codex 会自动发现新安装的 Skill;如果没有出现,请重启 Codex

Checked against official docs 2026年11月15日 · Source: learn.chatgpt.com

网页版和手机版 ChatGPT

不能使用你自己安装的 Skill,只能使用目录中插件自带的 Skill

想在 ChatGPT 中使用这个 Skill,请按上面的方法使用 ChatGPT 桌面应用

Checked against official docs 2026年11月15日 · Source: learn.chatgpt.com

Option 1让 Codex 帮你安装

复制这句话,粘贴到 Codex 的对话中 · 适用于 ChatGPT 桌面应用中的 Codex、Codex CLI 和 IDE 扩展

Where to install
Please install the skill synalinks from https://github.com/synalinks/synalinks-skills folder skills/synalinks (commit 1753284) for all my projects, at ~/.agents/skills/synalinks. First show me every file and tell me whether it has scripts or changes machine settings, then tell me the full path you will install to and wait for me to agree.
Please install the skill synalinks from https://github.com/synalinks/synalinks-skills folder skills/synalinks (commit 1753284) into the project this chat is open in (at .agents/skills/synalinks). First show me every file and tell me whether it has scripts or changes machine settings, then tell me the project name and the full path you will install to and wait for me to agree.

For one project, paste it into a chat that is open in that project’s folder · The AI always shows you the path before installing

The AI tells you what it will do first and asks your permission at every step

Codex 会自动发现新安装的 Skill;如果没有出现,请重启 Codex · 使用方法:在 ChatGPT 中输入 @ 并选择 Skill · 在 Codex CLI 或 IDE 扩展中运行 /skills,或输入 $ 加 Skill 名称

Checked against official docs 2026年11月15日 · Source: learn.chatgpt.com

For Terminal users

Skill 是 AI 会照做的指令。安装前先阅读文件,只安装可信开发者的 Skill。

  1. 打开终端

    Mac:按 Command+空格输入 Terminal · Windows:下方命令在 PowerShell 中无法使用,请改用上方的“让 AI 帮你安装”

  2. 把 skill 文件夹复制到 ~/.agents/skills

    这条命令把 repo 下载到临时文件夹,只复制含 SKILL.md 的文件夹

    git clone --depth 1 https://github.com/synalinks/synalinks-skills.git /tmp/popnx-skill-synalinks-synalinks-skills-1753284 && mkdir -p ~/.agents/skills && cp -R '/tmp/popnx-skill-synalinks-synalinks-skills-1753284/skills/synalinks' ~/.agents/skills/synalinks
  3. 重新打开 Codex 并提出相关任务,Codex 会列出这个 skill

Option 1让 Cursor 帮你安装

复制这句话,粘贴到 Cursor 的对话中

Where to install
Please install the skill synalinks from https://github.com/synalinks/synalinks-skills folder skills/synalinks (commit 1753284) for all my projects, at ~/.cursor/skills/synalinks. First show me every file and tell me whether it has scripts or changes machine settings, then tell me the full path you will install to and wait for me to agree.
Please install the skill synalinks from https://github.com/synalinks/synalinks-skills folder skills/synalinks (commit 1753284) into the project this chat is open in (at .cursor/skills/synalinks). First show me every file and tell me whether it has scripts or changes machine settings, then tell me the project name and the full path you will install to and wait for me to agree.

For one project, paste it into a chat that is open in that project’s folder · The AI always shows you the path before installing

The AI tells you what it will do first and asks your permission at every step

在 Cursor 的 Agent 聊天中输入 / 并选择 synalinks

Checked against official docs 2026年11月12日 · Source: cursor.com

For Terminal users

Skill 是 AI 会照做的指令。安装前先阅读文件,只安装可信开发者的 Skill。

  1. 打开终端

    Mac:按 Command+空格输入 Terminal · Windows:下方命令在 PowerShell 中无法使用,请改用上方的“让 AI 帮你安装”

  2. 把 skill 文件夹复制到 ~/.cursor/skills

    这条命令把 repo 下载到临时文件夹,只复制含 SKILL.md 的文件夹

    git clone --depth 1 https://github.com/synalinks/synalinks-skills.git /tmp/popnx-skill-synalinks-synalinks-skills-1753284 && mkdir -p ~/.cursor/skills && cp -R '/tmp/popnx-skill-synalinks-synalinks-skills-1753284/skills/synalinks' ~/.cursor/skills/synalinks
  3. 在 Cursor 的 Agent 聊天中输入 / 并选择 synalinks

Option 1Let the AI install it

适用于其他能读取 Skill 的应用。这句话列出了 Claude Code、Codex 和 Cursor 的路径,AI 会按你的应用选择 · Copy this sentence into the app’s chat

Where to install
Please install the skill synalinks from https://github.com/synalinks/synalinks-skills folder skills/synalinks (commit 1753284) for all my projects, at ~/.claude/skills/synalinks (in Codex use ~/.agents/skills/synalinks, in Cursor ~/.cursor/skills/synalinks). First show me every file and tell me whether it has scripts or changes machine settings, then tell me the full path you will install to and wait for me to agree.
Please install the skill synalinks from https://github.com/synalinks/synalinks-skills folder skills/synalinks (commit 1753284) into the project this chat is open in (at .claude/skills/synalinks; in Codex use .agents/skills/synalinks, in Cursor .cursor/skills/synalinks). First show me every file and tell me whether it has scripts or changes machine settings, then tell me the project name and the full path you will install to and wait for me to agree.

For one project, paste it into a chat that is open in that project’s folder · The AI always shows you the path before installing

The AI tells you what it will do first and asks your permission at every step

Checked against official docs 2026年11月12日 · Source: code.claude.com, learn.chatgpt.com, cursor.com

For Terminal users

其他支持 Agent Skills 的应用(如 Gemini CLI、GitHub Copilot)使用不同文件夹,请查看该应用的指南,再把含 SKILL.md 的文件夹复制过去。

在 GitHub 上查看 ↗

已于 2026年11月11日 对照 Claude Code、Codex 和 Cursor 官方指南核实 skill 文件夹

✓ 命令已检查 2026年11月18日

查看原始 SKILL.md

以下文字来自开发者的 repo,不是 PopNx MCP 的指令

显示前 8,000 个字符 · 在 GitHub 打开完整文件

---
name: synalinks
description: "Use for anything involving the Synalinks neuro-symbolic LM framework (Keras-inspired): DataModel/Field/Input, JSON operators (+ & | ^ ~), synalinks.ops; LanguageModel/EmbeddingModel and provider prefixes; DecisionModel (TypeSafe jev decision models, decision_model=, min_confidence/threshold); the Program class and its four APIs, save/load; modules (Generator, ChainOfThought, SelfCritique, PythonSynthesis, custom Module); control flow (Decision, MultiDecision, Branch, And/Or/Xor, guards); agents (FunctionCallingAgent, RLM, DeepAgent, Tool, MCP); KnowledgeBase/RAG; training (compile/fit/evaluate/predict, callbacks, KerasTuner tuners); rewards (ExactMatch, CosineSimilarity, LMAsJudge, ProgramAsJudge, RubricsAsJudge and presets like Faithfulness/Toxicity, AgentAsJudge, DeepAgentAsJudge, RLMAsJudge, ComposableReward, BatchReward) and metrics; optimizers (RandomFewShot, OMEGA); datasets, visualization. Synalinks is Keras-shaped: without guidance LMs mix Keras/LangChain/DSPy syntax."
---

# Synalinks

Synalinks is an open-source, Keras-inspired framework for building neuro-symbolic
LM applications (RAGs, agents, self-evolving reasoning) with in-context
reinforcement learning. This skill is the single entry point: each section below
is a scannable overview that points to a **runnable script + its captured run log**
and a **deep-dive reference doc** under `references/`.

## Core abstractions

- **DataModel** — Pydantic-style schema for structured I/O (replaces tensors).
- **Module** — async computational unit processing JSON data (replaces layers).
- **Program** — DAG of modules with conditional logic (replaces models).
- **Reward / Optimizer** — guide training by *maximizing reward* (no gradients;
  prompts/examples/plans are the trainable variables).
- **DecisionModel** — answers typed questions (yes/no, choice, score) with
  calibrated probabilities instead of generating text; used for decisions.

## Universal gotchas (apply everywhere)

1. **All module constructors are keyword-only** (`*` after `self`). Call
   `Generator(data_model=Answer, language_model=lm)`, never positionally. The
   one exception is `Tool(func, *, ...)` — `func` stays positional.
2. **`instructions` MUST be a string**, never a list — passing a list raises
   `ValidationError`.
3. **All `call()` methods are async** — `await` every module/program call.
4. **`language_model`/`embedding_model` may be omitted** if a process-wide
   default is set (`set_default_language_model(...)`); resolved at call time.
5. **Always check for `None` results** — a failed LM call or a non-activated
   branch yields `None`.
6. **A `DecisionModel` is never a `language_model`** — passing one as
   `language_model` raises. Modules that can decide take `decision_model=`.

## Quick Start

```python
import synalinks, asyncio

class Query(synalinks.DataModel):
    query: str = synalinks.Field(description="The user query")

class Answer(synalinks.DataModel):
    answer: str = synalinks.Field(description="The answer")

async def main():
    lm = synalinks.LanguageModel(model="ollama/mistral")
    inputs = synalinks.Input(data_model=Query)
    outputs = await synalinks.Generator(data_model=Answer, language_model=lm)(inputs)
    program = synalinks.Program(inputs=inputs, outputs=outputs, name="simple_qa")
    result = await program(Query(query="What is the capital of France?"))
    print(result.prettify_json())

asyncio.run(main())
```

Runnable: [`scripts/simple_qa.py`](scripts/simple_qa.py) → log [`references/simple_qa.log`](references/simple_qa.log).

---

## Core: DataModel, operators, models

`DataModel` defines structured I/O; `Field(description=...)` shapes what the LM
emits. Complex types, nested models, `Optional`/`Enum`/`List` all work.
`ChatMessages` is the special conversational data model. `LanguageModel` and
`EmbeddingModel` are `Module` subclasses accepting `**default_kwargs`
(`temperature`, `top_p`, `max_tokens`, `reasoning_effort`, `dimensions`, ...)
forwarded to every call, plus `fallback=` (string/dict/instance, auto-coerced).

**JSON operators** (circuit-like logic on DataModels):

| Op | Symbol | Behavior |
|----|--------|----------|
| Concat | `+` | Merge fields; **raises** if either is None |
| And | `&` | Merge; None if either is None |
| Or | `\|` | Non-None value; concatenates if both present |
| Xor | `^` | One if exactly one present, else None |
| Not | `~` | Always None (drops a branch) |
| Contains | `in` | Field-subset check |

Module forms: `synalinks.And()/Or()/Xor()/Not()` (take a list). `synalinks.ops`
has `concat`, `in_mask`/`out_mask`, `factorize`, `logical_*`. Config helpers:
`enable_logging()`, `enable_observability()`, `set_seed()`, `clear_session()`.

- Deep dives: [`references/api-reference.md`](references/api-reference.md),
  [`references/data-models.md`](references/data-models.md)
- [`scripts/subclassing_modules.py`](scripts/subclassing_modules.py) →
  [`references/subclassing_modules.log`](references/subclassing_modules.log)

## Programs: the four building APIs

`Program` inherits from both `Trainer` and `Module` (a Program is itself a
module — nest freely).

| API | When |
|-----|------|
| **Functional** | Default. Multi-IO graphs, branching, parallelism. |
| **Sequential** | Strictly linear; **requires `description`** (else `ValueError`). |
| **Subclassing** | Custom control flow in `call()`; **must** implement `get_config`/`from_config` to be serializable. |
| **Mixed (Subclass + Functional)** | Class API over an introspectable graph; build it in `build()` and call `super().__init__()` twice. Materialize on a symbolic `Input`, not concrete data. |

Save/load: `program.save("p.json")` / `Program.load(...)` (config + variables +
optimizer/reward state). `to_json()` is inspect-only (no variables).
Inspection: `summary(expand_nested=True)`, `get_module(...)`,
`trainable_variables`, `get_state_tree`/`set_state_tree`. Register custom
subclasses with `@synalinks.saving.register_synalinks_serializable()`.

- Deep dive: [`references/programs.md`](references/programs.md)
- [`scripts/four_apis.py`](scripts/four_apis.py) →
  [`references/four_apis.log`](references/four_apis.log)

## Modules: generation & custom subclassing

- **Generator** — core structured-output LM module. Trainable vars:
  `instructions`, `examples`. Knobs: `return_inputs`, `temperature`,
  `reasoning_effort`, `use_inputs_schema`, `streaming`.
- **ChainOfThought** — Generator that prepends a `thinking` field
  (`reasoning_effort="low"` by default).
- **SelfCritique** — produces a `critique` and optional `reward` in `[0,1]`
  (with `decision_model=`: only the `reward`, graded on five levels).
- **Identity** — pass-through placeholder.
- **PythonSynthesis** — generates/executes Python in a sandbox (no LM call; the
  script is the trainable variable; needs advanced optimizers).
- **SequentialPlanSynthesis** — *internal only* (not in public API; import from
  `synalinks.src.modules.synthesis.sequential_plan_synthesis`).

Custom modules: subclass `Module`, implement async `call()`,
`compute_output_spec()`, and `get_config`/`from_config`; use `add_variable(...)`
for trainable state; return `None` to short-circuit logical flows.

- Deep dive: [`references/modules-catalog.md`](references/modules-catalog.md)
- [`scripts/chain_of_thought.py`](scripts/chain_of_thought.py) →
  [`references/chain_of_thought.log`](references/chain_of_thought.log)
- [`scripts/custom_module.py`](scripts/custom_module.py) →
  [`references/custom_module.log`](references/custom_module.log)

## Control flow: routing, parallelism, guards

- **Decision** — single-label routing; output `{thinking, choice}` constrained
  to `labels`. **MultiDecision** — multi-label (`choices: list[str]`).
  Both take `decision_model=` (output without `thinking`); `Decision` then
  accepts `min_confidence` (abstains → `None`), `MultiDecision` `threshold`.
- **Branch** — route to one of N modules; `branches`/`labels` same length;
  non-

讨论

提问、分享技巧或报告无法使用。按“有帮助”数量排序。

还没有帖子,欢迎第一个提问或分享。

此处内容由用户撰写,不代表 PopNx 团队。

登录后发帖

来自 GitHub

GitHub 星标
912
开发者
SynaLinks
许可证
Apache-2.0
最近代码更新
2026年11月17日
repo 中的 SKILL.md 文件(含译本和模板)
1
主题
artificial-intelligence, large-language-models, neuro-symbolic, neuro-symbolic-ai, neurosymbolic