> ## Documentation Index
> Fetch the complete documentation index at: https://docs.fastino.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# GLiNER 智能体技能

> 为 Cursor、Claude Code 和 Codex 安装可移植的 GLiNER2 和 GLiNER 技能。

[GLiNER2 智能体技能](https://github.com/jaanavit/gliner2-skill)为 Cursor、Claude Code 和 Codex 提供关于 GLiNER2.5、GLiNER2 和 GLiNER 工作流的指导，包括模型选择、schema 设计、抽取、分类、关系以及微调。

## 安装

在你的项目中运行以下命令：

```bash theme={null}
npx skills add jaanavit/gliner2-skill
```

安装程序会让你选择要将该技能应用到哪些受支持的智能体。

## 非交互式安装

使用与你的智能体对应的命令，将该技能安装到当前项目中，不会出现任何提示：

<CodeGroup>
  ```bash Cursor theme={null}
  npx skills add jaanavit/gliner2-skill -a cursor -y
  ```

  ```bash Claude Code theme={null}
  npx skills add jaanavit/gliner2-skill -a claude-code -y
  ```

  ```bash Codex theme={null}
  npx skills add jaanavit/gliner2-skill -a codex -y
  ```
</CodeGroup>

`-a` 选项用于选择目标智能体，`-y` 用于自动接受安装提示，因此这些命令适用于脚本和 CI。

<Card title="查看源代码" icon="github" href="https://github.com/jaanavit/gliner2-skill">
  在 GitHub 上查看该技能的内容、报告问题或参与贡献。
</Card>
