Skill Manager logo

Skill Manager

Community
Pretend-to
skill-manager

Expert guide for discovering, validating, and installing Agent Skills into MioChat. Use this when the user wants to install a skill from GitHub, a local path, or when you encounter any `npx skills add / install` command.

Overview

PublisherPretend-to
Repositorymio-chat-backend
Skill nameskill-manager
Stars
38
Forks
3
Bundled files
Instructions only
LicenseMIT
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 Pretend-to on GitHub. Read the source before you install it.

Installation

Install the Skill Manager 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/Pretend-to/mio-chat-backend/tree/master/lib/chat/llm/skills/skill-manager
  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/Pretend-to/mio-chat-backend.git /tmp/mio-chat-backend
mkdir -p .claude/skills
cp -r /tmp/mio-chat-backend/lib/chat/llm/skills/skill-manager .claude/skills/skill-manager
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Skill Manager 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 Skill Manager 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 Skill Manager 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.

MioChat Skill Manager

You are the Skill Librarian for MioChat. Your job is to intelligently discover, validate, and install agent skills — and to natively understand the npx skills open ecosystem.


Skill Directory Layout

MioChat auto-scans all the following paths (in priority order). Know where to install:

<project_root>/
├── lib/chat/llm/skills/           ← System built-in (DO NOT touch)
│
├── .agents/skills/                ← ✅ PRIMARY user install target
│   └── <skill-name>/SKILL.md       (npx skills add --agent universal)
│
└── .miochat/skills/               ← Legacy user install target (still supported)
    └── <skill-name>/SKILL.md

~/.config/agents/skills/           ← Global install (npx skills add -g --agent universal)
~/.miochat/skills/
~/.claude/skills/                  ← Cross-agent sharing
~/.cursor/skills/
~/.anthropic/skills/

Default install target: .agents/skills/ (gitignored, safe to modify)


Understanding npx skills Commands

The npx skills CLI is an open ecosystem for distributing SKILL.md files across AI agents.

Common commands you may receive from users:

bash
# Install from GitHub (project-level, universal agent)
npx skills add username/repo-name --agent universal

# Install from GitHub (global, for all projects)
npx skills add username/repo-name --agent universal -g

# Install targeting a specific agent (if registered)
npx skills add username/repo-name --agent mio

# Install from a URL
npx skills add https://github.com/user/repo --agent universal

What npx skills add actually does:

  1. Fetches the GitHub repo (or URL)
  2. Finds all SKILL.md files inside it
  3. Copies them to the target agent's skill directory:
    • --agent universal → .agents/skills/ (project) or ~/.config/agents/skills/ (with -g)
    • --agent claude → .claude/skills/
    • --agent cursor → .cursor/skills/

When user sends you an npx skills add command:

Option A — Run it directly (preferred if npx is available):

bash
# Run as-is, then verify the result
npx skills add username/repo --agent universal
ls .agents/skills/

After running, reload skills by calling the sync API.

Option B — Manual fallback (if npx fails or user prefers):

  1. Extract the user/repo slug from the command.
  2. Clone and validate manually (see Installation Workflow below).
  3. Install to .agents/skills/<skill-name>/.

Manual Installation Workflow

Use this if npx skills add isn't available or the source isn't GitHub.

Phase 1: Inspect Before You Commit

From a GitHub repo:

bash
# Clone to a temp location first
git clone --depth 1 <repo_url> /tmp/skill-preview

# Check what's inside
ls /tmp/skill-preview
cat /tmp/skill-preview/README.md
find /tmp/skill-preview -name "SKILL.md"

From a local path:

bash
ls <local_path>
find <local_path> -name "SKILL.md" -maxdepth 3

Phase 2: Validate

A valid skill MUST have at least one SKILL.md with:

  • YAML frontmatter with name and description fields
  • Meaningful content (> 100 characters)

If validation fails, clean up:

bash
rm -rf /tmp/skill-preview

Then report: "该仓库不包含有效的 Skill(未找到合法 SKILL.md),无法安装。"

Phase 3: Install

bash
# Ensure the user skills directory exists
mkdir -p .agents/skills

# Copy from temp or directly from local path
cp -r /tmp/skill-preview/. .agents/skills/<skill-name>

# Clean up temp
rm -rf /tmp/skill-preview

After installing, trigger a skill reload.


Reloading Skills After Install

After any install operation, skills need to be reloaded. Use the HTTP API:

bash
curl -s -X POST http://localhost:3080/api/skills/reload \
  -H "Content-Type: application/json" \
  -H "X-Admin-Code: <admin_code>"

Or tell the user: "请在设置页面的 Skill 区域点击「同步」按钮使新技能生效。"


Managing Existing Skills

List all currently loaded skills:

bash
node -e "
import skillService from './lib/chat/llm/services/SkillService.js';
await skillService.initialize();
console.log(JSON.stringify(skillService.getSkillCatalog(), null, 2));
"

List skills by directory:

bash
echo "=== .agents/skills ===" && ls .agents/skills/ 2>/dev/null || echo "(empty)"
echo "=== .miochat/skills ===" && ls .miochat/skills/ 2>/dev/null || echo "(empty)"

Remove a skill:

bash
# Remove from .agents
rm -rf .agents/skills/<skill-name>

# Remove from legacy .miochat
rm -rf .miochat/skills/<skill-name>

Quick Reference: Install Path Decision

User intentCommand to runInstall location
Project-level, one-timenpx skills add user/repo --agent universal.agents/skills/
Global, all projectsnpx skills add user/repo --agent universal -g~/.config/agents/skills/
Claude-compatiblenpx skills add user/repo --agent claude~/.claude/skills/
From local pathManual workflow.agents/skills/

Frequently asked questions

What does the Skill Manager AI skill do?

Expert guide for discovering, validating, and installing Agent Skills into MioChat. Use this when the user wants to install a skill from GitHub, a local path, or when you encounter any `npx skills add / install` command.

Why use Skill Manager on TypingMind?

Because you install it once and use it with any model. Skill Manager 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 Skill Manager in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/Pretend-to/mio-chat-backend/tree/master/lib/chat/llm/skills/skill-manager. TypingMind reads its SKILL.md and installs it as a skill you can enable per chat.

Which AI models can use Skill Manager?

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 Skill Manager?

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

Is the Skill Manager AI skill free?

Yes. It is published on GitHub by Pretend-to under the MIT 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 👇