xiaohongshu
xiaohongshu
managing-skills
Install, update, list, and remove Claude Code and OpenCode skills. Supports GitHub repositories (user/repo), GitHub subdirectory URLs, and .skill zip files. Can set up interoperability between Claude Code and OpenCode via symlinks. Use when user wants to install, add, download, update, sync, list...
Full skill instructions
<quick_start> Install a skill from GitHub:
# User-level (available everywhere)
git clone https://github.com/user/repo ~/.claude/skills/repo
# Project-level (as submodule)
git submodule add https://github.com/user/repo .claude/skills/repo
Always ask the user which location they want before installing. </quick_start>
<install_locations> Skills can be installed in multiple locations depending on the tool:
Claude Code:
~/.claude/skills/<skill-name>/ - available in all projects<project>/.claude/skills/<skill-name>/ - available only in that projectOpenCode:
~/.config/opencode/skill/<skill-name>/ - available in all projects<project>/.opencode/skill/<skill-name>/ - available only in that projectImportant: Always ask the user which location they want before installing. </install_locations>
<skill_reference_types>
<type name="github-repository"> A dedicated GitHub repo containing a skill.How to recognize:
user/repohttps://github.com/user/repo/tree/<branch> but NO path after the branchInstall (User - Claude Code):
mkdir -p ~/.claude/skills
git clone https://github.com/user/repo ~/.claude/skills/repo
Install (User - OpenCode):
mkdir -p ~/.config/opencode/skill
git clone https://github.com/user/repo ~/.config/opencode/skill/repo
Install (Project - as submodule):
mkdir -p .claude/skills
git submodule add https://github.com/user/repo .claude/skills/repo
Update (User):
git -C ~/.claude/skills/skill-name pull
Update (Project):
git -C .claude/skills/skill-name pull
git add .claude/skills/skill-name
</type>
<type name="github-subdirectory"> A skill living as a subdirectory within a larger repository.How to recognize:
/tree/<branch>/ followed by a path within the repohttps://github.com/org/repo/tree/main/skills/my-skillParse the URL:
https://github.com/org/reposkills/my-skillmy-skill (last path component)Install (User or Project):
# Clone to temp directory
git clone --depth 1 https://github.com/org/repo /tmp/skill-clone-$$
# Copy subdirectory to target
mkdir -p ~/.claude/skills
cp -r /tmp/skill-clone-$$/skills/my-skill ~/.claude/skills/my-skill
# Create .skill-manager-ref with source URL
echo "https://github.com/org/repo/tree/main/skills/my-skill" > ~/.claude/skills/my-skill/.skill-manager-ref
# Cleanup
rm -rf /tmp/skill-clone-$$
Update:
# Read source URL
SOURCE_URL=$(cat ~/.claude/skills/my-skill/.skill-manager-ref)
# Re-run installation (same steps as above, overwrites existing)
</type>
<type name="skill-zip"> A `.skill` zip file hosted at any URL.How to recognize:
.skillhttps://example.com/skills/my-skill.skillParse the URL:
.skill extensionInstall (User or Project):
# Download to temp
curl -L -o /tmp/skill-$$.zip "https://example.com/skills/my-skill.skill"
# Create target and extract
mkdir -p ~/.claude/skills/my-skill
unzip -o /tmp/skill-$$.zip -d ~/.claude/skills/my-skill
# If zip contained a single directory, move contents up
if [ $(ls -1 ~/.claude/skills/my-skill | wc -l) -eq 1 ] && [ -d ~/.claude/skills/my-skill/* ]; then
mv ~/.claude/skills/my-skill/*/* ~/.claude/skills/my-skill/
rmdir ~/.claude/skills/my-skill/*/
fi
# Create .skill-manager-ref with source URL
echo "https://example.com/skills/my-skill.skill" > ~/.claude/skills/my-skill/.skill-manager-ref
# Cleanup
rm /tmp/skill-$$.zip
Update:
# Read source URL
SOURCE_URL=$(cat ~/.claude/skills/my-skill/.skill-manager-ref)
# Re-run installation (same steps as above, overwrites existing)
</type>
</skill_reference_types>
<operations> <operation name="remove"> **User skill:** ```bash rm -rf ~/.claude/skills/skill-name ```Project skill (submodule):
git submodule deinit -f .claude/skills/skill-name
git rm -f .claude/skills/skill-name
rm -rf .git/modules/.claude/skills/skill-name
Project skill (not a submodule):
rm -rf .claude/skills/skill-name
</operation>
<operation name="list"> ```bash # Claude Code ls ~/.claude/skills/ ls .claude/skills/ls ~/.config/opencode/skill/ ls .opencode/skill/
</operation>
<operation name="check-source">
**GitHub repo:**
```bash
git -C ~/.claude/skills/skill-name remote get-url origin
git -C ~/.claude/skills/skill-name rev-parse --short HEAD
Subdirectory or Zip (has .skill-manager-ref):
cat ~/.claude/skills/skill-name/.skill-manager-ref
</operation>
<operation name="post-install"> After installing any skill, check for and install dependencies:# Python dependencies
if [ -f ~/.claude/skills/skill-name/requirements.txt ]; then
pip install -r ~/.claude/skills/skill-name/requirements.txt
fi
# Node dependencies
if [ -f ~/.claude/skills/skill-name/package.json ]; then
cd ~/.claude/skills/skill-name && npm install
fi
</operation>
<operation name="interop"> Make skills available to both Claude Code and OpenCode using symlinks.User-level (share skills globally):
First, check which tool already has skills:
ls -la ~/.claude/skills 2>/dev/null
ls -la ~/.config/opencode/skill 2>/dev/null
If Claude Code has skills, make them available to OpenCode:
mkdir -p ~/.config/opencode
ln -s ~/.claude/skills ~/.config/opencode/skill
If OpenCode has skills, make them available to Claude Code:
mkdir -p ~/.claude
ln -s ~/.config/opencode/skill ~/.claude/skills
Project-level (share skills in a project):
If Claude Code has project skills, make them available to OpenCode:
mkdir -p .opencode
ln -s ../.claude/skills .opencode/skill
If OpenCode has project skills, make them available to Claude Code:
mkdir -p .claude
ln -s ../.opencode/skill .claude/skills
Important considerations:
ls -la that the link points correctly
</operation></operations>
<error_handling>
<error name="clone-failed"> **Symptom:** `git clone` fails with "repository not found" or network errorResolution:
curl -I https://github.com/user/repogh auth statusgit clone [email protected]:user/repo
</error>Resolution:
git -C <path> pullrm -rf <path> then clone again
</error>Resolution:
user/repo to https://github.com/user/repoResolution:
</error_handling>
<success_criteria> Installation is successful when:
.git directory exists (or is a submodule).skill-manager-ref file exists with source URLUpdate is successful when:
git pull completes without errors (for git repos)Removal is successful when:
.gitmodules or .git/modules/Important: After installing, updating, or removing skills, always tell the user they need to restart Claude Code/OpenCode for changes to take effect. </success_criteria>
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