47e02586940b77dd2bdd2d5fd3f1aec34f5e0396
- new-project.sh: Use nextjs-payload-starter template, Next.js AI rules - convert-astro.sh: Complete rewrite to migrate Astro MDX to Payload CMS Lexical JSON - deploy.sh: Check for next.config instead of astro.config.mjs, use MONGODB_URL - preview.sh: Check for Next.js, default port 3002 - audit-seo.sh: Check .tsx pages in src/app, Next.js config All scripts now properly support Next.js + Payload CMS workflow.
OpenCode Skills
Personal collection of OpenCode skills for AI-powered terminal coding assistant.
Skills
skill-creator
Create new OpenCode skills with proper structure and templates.
Usage:
python3 scripts/create_skill.py <skill-name> "<description>"
Features:
- Auto-generates SKILL.md with proper frontmatter
- Creates script template with env loading
- Validates skill naming conventions
- Sets up .env.example and requirements.txt
Quick Install (Recommended)
Use the automated installer - it will:
- Detect all skills in the repo
- Prompt for required environment variables
- Create
.envfiles with your credentials - Install skills to OpenCode (global or per-project)
- Install Python dependencies
./scripts/install-skills.sh
Manual Setup
If you prefer manual setup:
- Install dependencies:
# Dependencies are installed automatically by install-skills.sh
- Configure API tokens in
.env:
# Copy .env.example to .env and add your credentials
- Install skills to OpenCode:
# Global install (available for all projects)
mkdir -p ~/.config/opencode/skills
cp -r skills/* ~/.config/opencode/skills/
# Or project-specific install
mkdir -p .opencode/skills
cp -r skills/* .opencode/skills/
OpenClaw Installation
For OpenClaw, just copy the skills folder - it now includes .env with all credentials:
# Option 1: Local OpenClaw folder
cp -r skills ~/.openclaw/skills
# Option 2: Remote server SSH mount (e.g. ~/openclaw-vps/)
cp -r skills ~/openclaw-vps/.openclaw/skills
# Option 3: rsync for faster sync over SSH
rsync -av skills/ user@remote-server:.openclaw/skills/
What to copy:
skills/- Includes all skills AND.envwith credentials
Note: OpenClaw searches for skills in ~/.openclaw/skills or any */.openclaw/skills folder.
Creating New Skills
Use the skill-creator to scaffold new skills:
python3 skills/skill-creator/scripts/create_skill.py my-new-skill "Description of what it does"
Then edit the generated files:
SKILL.md- Define commands and optionsscripts/my_new_skill.py- Implement the functionalityscripts/.env.example- Add required environment variables
Security
.envfiles are gitignored (never commit actual credentials)- Use
.env.exampleas template only
License
MIT
Description
Languages
Python
35.8%
C#
34.8%
TypeScript
10.8%
Shell
9.4%
Astro
4.6%
Other
4.5%