xiaohongshu
xiaohongshu
mcp-skill-creator
Create skills that wrap MCP (Model Context Protocol) servers for use with mcp-skill-client. Use when user wants to create a new MCP-based skill, wrap an existing MCP server as a skill, or generate SKILL.md with tool documentation from an MCP server.
Full skill instructions
Create skills that wrap MCP servers for browser automation, database access, API integrations, and more. Generated skills use mcp-skill-client to maintain persistent MCP sessions.
skill-name/
├── SKILL.md # Skill instructions with tool documentation
├── config.json # MCP server configuration
└── scripts/
└── mcp # Wrapper script for short commands
mkdir -p skill-name/scripts
Create config.json:
{
"name": "skill-name",
"transport": "stdio",
"command": "npx",
"args": ["@org/mcp-package@version", "--option1", "--option2"],
"env": {}
}
Transport options:
stdio: Spawns MCP server as subprocess (most common)http: Connects to running MCP server at URLCreate scripts/mcp (executable):
#!/bin/bash
SKILL_DIR="$(cd "$(dirname "$0")/.." && pwd)"
SESSION="${MCP_SESSION:-default}"
exec npx github:runoshun/mcp-skill-client --config "$SKILL_DIR/config.json" --session "$SESSION" "$@"
Make it executable:
chmod +x scripts/mcp
# Set session name (optional, defaults to "default")
export MCP_SESSION=dev
# Start daemon temporarily
./scripts/mcp start
# Get tool list (copy this output for SKILL.md)
./scripts/mcp tools
# Stop daemon
./scripts/mcp stop
Use this template:
---
name: skill-name
description: [What the skill does and when to use it]
---
# Skill Name
[Brief description of what this skill enables]
## Setup
Set session name (optional):
\`\`\`bash
export MCP_SESSION=myproject
\`\`\`
Start the MCP daemon:
\`\`\`bash
$SKILL_DIR/scripts/mcp start
\`\`\`
## Available Tools
[Document each tool from the tools list]
### tool_name
[Description from MCP server]
\`\`\`bash
$SKILL_DIR/scripts/mcp call tool_name param1=value
\`\`\`
## Cleanup
\`\`\`bash
$SKILL_DIR/scripts/mcp stop
\`\`\`
{
"name": "playwright-mcp",
"transport": "stdio",
"command": "npx",
"args": ["@playwright/mcp@latest", "--headless", "--browser", "chromium", "--no-sandbox"]
}
#!/bin/bash
SKILL_DIR="$(cd "$(dirname "$0")/.." && pwd)"
SESSION="${MCP_SESSION:-default}"
exec npx github:runoshun/mcp-skill-client --config "$SKILL_DIR/config.json" --session "$SESSION" "$@"
---
name: playwright-mcp
description: Browser automation via Playwright MCP server. Navigate pages, click elements, fill forms, take screenshots. Use for web testing, scraping, or any browser automation task.
---
# Playwright MCP
Browser automation with persistent session via MCP.
## Setup
\`\`\`bash
export MCP_SESSION=myproject # optional
$SKILL_DIR/scripts/mcp start
\`\`\`
## Tools
### browser_navigate
Navigate to a URL.
\`\`\`bash
$SKILL_DIR/scripts/mcp call browser_navigate url=https://example.com
\`\`\`
### browser_snapshot
Get accessibility snapshot with element refs.
\`\`\`bash
$SKILL_DIR/scripts/mcp call browser_snapshot
\`\`\`
### browser_click
Click an element by reference.
\`\`\`bash
$SKILL_DIR/scripts/mcp call browser_click element="Submit" ref=e12
\`\`\`
Sessions allow parallel usage from different projects:
# Project A
cd ~/project-a
export MCP_SESSION=project-a
./scripts/mcp start # port auto-assigned (e.g., 8940)
# Project B (different terminal)
cd ~/project-b
export MCP_SESSION=project-b
./scripts/mcp start # different port auto-assigned (e.g., 8941)
Session state is stored in .<skill-name>/ in the current directory:
.skill-name/
├── sessions.json # All session info
├── project-a/
│ ├── daemon.log
│ └── output/
└── project-b/
├── daemon.log
└── output/
List all sessions:
./scripts/mcp sessions
When documenting tools in SKILL.md:
### tool_nameCopy templates from assets/ directory:
assets/config.json - MCP server configuration templateassets/SKILL.md.template - SKILL.md template with placeholdersassets/mcp.sh - Wrapper script template$SKILL_DIR/scripts/mcp status)xiaohongshu
technical spec
product ux expert
database patterns
Conduct multi-agent task orchestration and workflow coordination.
Initialize project with Conductor artifacts (product definition,
Expert in web animations, transitions, and motion design using Framer Motion and CSS
Creates Mermaid and ASCII diagrams for flowcharts, architecture, ERDs, state machines, mindmaps, and more. Use when user mentions diagram, flowchart, mermaid, ASCII diagram, text diagram, terminal diagram, visualize, C4, mindmap, architecture diagram, sequence diagram, ERD, or needs visual docume...
PostgreSQL bindings for H3 hexagonal grid system. Use when working with H3 cells in Postgres, including spatial indexing, geometry/geography integration, and raster analysis.
Context-Driven Development skill for projects using Conductor. Use this skill when you detect a `conductor/` directory in the project, when working on tasks defined in a `plan.md` file, or when the user asks about tracks, specs, or plans. Automatically applies TDD workflow, tracks task completion...
Display project status, active tracks, and next actions
Official Stakpak application containerization standard operating procedure, a step-by-step guidline to properly dockerize applications. This is a rule book curated by the Stakpak Team.
Generate, edit, and beat-sync AI video with leading models in one workspace.
The world's fastest calendar for remote work
Transform Your Design with AI Designer by ImgCreator.ai
Revolutionizing Video Production with AI-Powered Creativity
Extend an image past the frame and let AI fill the new aspect ratio.
Discover your celebrity doppelgänger with StarByFace!
ChainClarity explains 700+ crypto whitepapers in plain English, with layered summaries, comparisons, research tools, alerts, and a $4.99 Pro plan.
Opus.ai: Revolutionize Your Web Experience