Sugt Cli logo

Sugt Cli

Community
lsuen
sugt-cli

接入 SUGT 本地 AI 网关的技能。能搜索、安装、管理 SUGT 技能仓中的技能。当用户希望发现/安装/管理技能,或希望使用 SUGT CLI 工具时使用。

Overview

Publisherlsuen
Repositorysugt
Skill namesugt-cli
Stars
82
Forks
0
Bundled files
Instructions only
LicenseApache-2.0
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • Self-contained

    Everything the model needs lives in the instructions — no extra files to sync.

  • Open source

    Published by lsuen on GitHub. Read the source before you install it.

Installation

Install the Sugt Cli AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/lsuen/sugt/tree/master/src-tauri/skills/sugt
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/lsuen/sugt.git /tmp/sugt
mkdir -p .claude/skills
cp -r /tmp/sugt/src-tauri/skills/sugt .claude/skills/sugt-cli
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Sugt Cli in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Sugt Cli on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Sugt Cli is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

SUGT CLI 技能

你可以调用 sugt-cli 命令来使用 SUGT 的全部能力。SUGT 是一款本地 AI 网关工具,把 LLM API Key、Agent 接管、Skills 挂载收拢到一个本机小工具里。

何时使用本技能

  • 用户希望搜索可用的技能
  • 用户希望安装某个技能
  • 用户希望列出已安装的技能
  • 用户希望获取基于当前项目上下文的技能建议
  • 用户希望卸载某个技能
  • 任何涉及 SUGT 技能管理的场景

命令清单

提示:先 sugt-cli status 检查网关是否可用;如果显示"网关未运行",告诉用户需要先在 SUGT 应用中启动网关。

搜索技能

bash
sugt-cli skill search <关键词>

返回匹配的技能列表(含 ID、名称、描述、来源仓库)。

列出已安装的技能

bash
sugt-cli skill list

显示本地已安装的技能、挂载状态。

查看技能详情

bash
sugt-cli skill info <技能ID>

显示技能的完整元信息:名称、描述、依赖、SKILL.md 内容预览。

安装技能

bash
sugt-cli skill install <技能ID>

下载技能到本地暂存区。

挂载技能

bash
sugt-cli skill mount <技能ID> --target claude
sugt-cli skill mount <技能ID> --target codex
sugt-cli skill mount <技能ID> --target both  # 默认

把技能挂载到 Claude Code / Codex 等 Agent。

卸载技能

bash
sugt-cli skill uninstall <技能ID>

获取技能建议

bash
sugt-cli skill suggest

根据当前项目目录分析(语言、框架、常见任务),推荐适合的技能。

工作流程建议

当用户进入新项目时:

  1. 先执行 sugt-cli skill suggest,看是否有匹配的技能可以提升工作效率
  2. 询问用户是否要安装推荐的技能
  3. 安装后执行 sugt-cli skill list 确认挂载状态(输出中带挂载标记)

当用户提出具体需求时:

  1. 执行 sugt-cli skill search <关键词> 查找相关技能
  2. 展示找到的技能给用户
  3. 用户确认后执行安装 + 挂载

注意事项

  • sugt-cli 在 PATH 中必须可用(which sugt-cli 验证)。如果不可用,告诉用户重新启动一个新终端让环境变量生效,或者在 SUGT 客户端界面重新点一次"接管"
  • 所有命令在 Windows 上都已支持,命令格式跨平台一致
  • 网关未运行时,部分命令会返回错误;可让用户先用 sugt-cli status 检查

Frequently asked questions

What does the Sugt Cli AI skill do?

接入 SUGT 本地 AI 网关的技能。能搜索、安装、管理 SUGT 技能仓中的技能。当用户希望发现/安装/管理技能,或希望使用 SUGT CLI 工具时使用。

Why use Sugt Cli on TypingMind?

Because you install it once and use it with any model. Sugt Cli is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Sugt Cli in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/lsuen/sugt/tree/master/src-tauri/skills/sugt. TypingMind reads its SKILL.md and installs it as a skill you can enable per chat.

Which AI models can use Sugt Cli?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Sugt Cli?

As many as you like. As long as a model supports skills, you can use Sugt Cli with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Sugt Cli AI skill free?

Yes. It is published on GitHub by lsuen under the Apache-2.0 license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇