Skip to content
Back to skills

Xiaolai

ASecurity

Xiaolai's Claude tools collection. Use when user types /xiaolai. Routes to: (1) claude-agent-sdk — Agent SDK reference for building autonomous AI agents, or (2) nlpm — Natural-Language Programming Manager for scanning, scoring, and fixing NL artifacts.

  • 2 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added September 2, 2026
ai-agentstypescriptpythonbashgitsecurity

Works with

  • mcp

Security analysis

A100/100

Pro scans all 19 files and shows the line behind each finding

Scanned September 2, 2026

npx -y skills add shengdabai/Tony-Claude-Code-Skills --skill xiaolai --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Xiaolai?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Xiaolai
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/shengdabai-xiaolai/badge)](https://www.skillsdirectory.com/skills/shengdabai-xiaolai)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: xiaolai
description: "Xiaolai's Claude tools collection. Use when user types /xiaolai. Routes to: (1) claude-agent-sdk — Agent SDK reference for building autonomous AI agents, or (2) nlpm — Natural-Language Programming Manager for scanning, scoring, and fixing NL artifacts."
user-invocable: true
---

# Xiaolai's Claude Tools

You have two tools available. Ask the user which one they want to use:

## Available Tools

### 1. Claude Agent SDK (`/xiaolai sdk` or `/xiaolai agent`)
Build autonomous AI agents with Claude Agent SDK (TypeScript v0.2.96 / Python v0.1.56).
Covers: `query()`, hooks, subagents, MCP, permissions, sandbox, structured outputs, sessions.

**Use when:** building AI agents, configuring MCP servers, setting up permissions/hooks, using structured outputs, troubleshooting SDK errors, or working with subagents.

### 2. NLPM (`/xiaolai nlpm`)
Natural-Language Programming Manager — scan, lint, and score NL artifacts with Claude-native quality scoring.

**Commands:**
- `/nlpm:ls` — discover NL artifacts
- `/nlpm:score` — 100-point quality scoring
- `/nlpm:check` — cross-component consistency
- `/nlpm:fix` — auto-fix mechanical issues
- `/nlpm:trend` — track score history
- `/nlpm:test` — run NL-TDD specs
- `/nlpm:init` — configure project
- `/nlpm:security-scan` — scan plugin for security risks

---

## Routing Logic

1. If the user typed `/xiaolai` with no argument, show the menu above and ask which tool to use.
2. If the user typed `/xiaolai sdk` or `/xiaolai agent` — read `claude-agent-sdk/SKILL.md` and follow its instructions.
3. If the user typed `/xiaolai nlpm` — read `nlpm/CLAUDE.md` and follow its instructions. For specific nlpm commands, read the corresponding file under `nlpm/commands/`.
4. If the user's context makes it obvious which tool applies (e.g. they're building an agent → sdk, they want to score/lint NL artifacts → nlpm), route directly without asking.

## File Locations

All files are relative to this skill's directory (`~/.claude/skills/xiaolai/`):

- **SDK entry:** `claude-agent-sdk/SKILL.md`
  - TypeScript details: `claude-agent-sdk/SKILL-typescript.md`
  - Python details: `claude-agent-sdk/SKILL-python.md`
  - Agent templates: `claude-agent-sdk/templates/`
  - Agent rules: `claude-agent-sdk/rules/`
- **NLPM entry:** `nlpm/CLAUDE.md`
  - Commands: `nlpm/commands/*.md`
  - Agents: `nlpm/agents/*.md`
  - Skills/knowledge: `nlpm/skills/nlpm/`

## Auto-Update

Both repos are git clones. To update, run:
```bash
cd ~/.claude/skills/xiaolai/claude-agent-sdk && git pull
cd ~/.claude/skills/xiaolai/nlpm && git pull
```

Files in this skill

  • SKILL.md2.6 KB
  • claude-agent-sdk/.claude-plugin/plugin.json499 B
  • claude-agent-sdk/.github/workflows/sdk-update-check.yml19.2 KB
  • claude-agent-sdk/.gitignore55 B
  • claude-agent-sdk/.nvmrc3 B
  • claude-agent-sdk/CHANGELOG.md14.6 KB
  • claude-agent-sdk/README.md11.2 KB
  • claude-agent-sdk/SKILL-typescript.md99.4 KB
  • claude-agent-sdk/SKILL.md2.9 KB
  • claude-agent-sdk/agent/mending-agent.ts3.8 KB
  • claude-agent-sdk/agent/mending-prompt.md2.7 KB
  • claude-agent-sdk/agent/monitor.sh16.5 KB
  • claude-agent-sdk/agent/package.json479 B
  • claude-agent-sdk/agent/report-agent.ts8.5 KB
  • claude-agent-sdk/agent/report-prompt.md5.4 KB
  • claude-agent-sdk/agent/research-agent-py.ts5.4 KB
  • claude-agent-sdk/agent/research-agent-ts.ts4.9 KB
  • claude-agent-sdk/agent/research-prompt-py.md12.1 KB
  • claude-agent-sdk/agent/research-prompt-ts.md11.6 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.