autoskills
Skill0 starsChanged 7 months agoMITView on GitHub
Auto-detect project tech stack and recommend/install matching AI agent skills. Scans package.json, config files, and project structure to find frameworks, languages, and infrastructure. Maps detections to OpenClaw skills, clawhub packages, and external skill sources. Use when starting work on a new project, onboarding to a codebase, or checking if better skills are available.
- Installs packages
2 other projects use a version of this.
Adopted by
Most recently taken up by
- GstMirabal/Token-Optimized-Agent-Pipelinetheir own version, first seen Nov 8, 2026
- B143KC47/autoskillstheir own version, first seen Jun 27, 2026
Other versions2 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 2
- B143KC47/autoskills★ 1same name
- GstMirabal/Token-Optimized-Agent-Pipeline★ 1same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
The file
We split this skill into the rules it gives an agent
6 rules. About 0 are common, 2 are distinctive, and 4 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
Distinctive · estimate
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 77
All mappings live in scripts/skills-map.json.
- Very specific: line 101
Add your tech under technologies with the three skill arrays
- Very specific: line 103
If your tech needs new detection logic, edit scripts/detect.sh — see references/detection-rules.md for details
- Distinctive: line 156
When an agent loads this skill, it should:
- Distinctive: line 158
Run detection on the project directory the user is working on
- Very specific: line 177
No Node.js required for core detection and recommendation.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
autoskills
Auto-detect a project's tech stack and recommend matching AI agent skills for OpenClaw.
Inspired by midudev/autoskills, adapted for the OpenClaw ecosystem.
Quick Start
Scan a project directory
# Detect tech stack
bash ~/.openclaw/workspace/skills/autoskills/scripts/detect.sh /path/to/project
# Detect + get recommendations in one step
bash ~/.openclaw/workspace/skills/autoskills/scripts/recommend.sh --detect /path/to/project
# Or pipe them
bash ~/.openclaw/workspace/skills/autoskills/scripts/detect.sh /path/to/project \
| bash ~/.openclaw/workspace/skills/autoskills/scripts/recommend.shInstall a recommended skill
# From ClawHub
bash ~/.openclaw/workspace/skills/autoskills/scripts/install.sh nextjs-best-practices --from clawhub
# From skills.sh (shows instructions)
bash ~/.openclaw/workspace/skills/autoskills/scripts/install.sh vercel-labs/next-skills/next-best-practices --from skills.shHow It Works
1. Detection (detect.sh)
Scans a project directory for:
- Languages — JavaScript, TypeScript, Python, Rust, Go, PHP, Ruby, Java, Dart
- Frameworks — React, Next.js, Vue, Nuxt, Svelte, Angular, Astro, Express, Fastify, Hono, NestJS, Tailwind, shadcn/ui, Prisma, Drizzle, Supabase, Stripe, Playwright, Vitest, Jest, Flutter
- Infrastructure — Docker, Kubernetes, Terraform, GitHub Actions, Vercel, Cloudflare, GitLab CI, CircleCI
- Package Manager — npm, yarn, pnpm, bun
Detection methods:
- File presence —
Dockerfile,tsconfig.json,Cargo.toml, etc. - package.json dependencies — reads both
dependenciesanddevDependencies - Directory structure —
.github/workflows/,k8s/,src/components/ - File content — YAML files checked for Kubernetes manifests,
pubspec.yamlfor Flutter
Also classifies the project as frontend, backend, or fullstack based on detected frameworks and directory heuristics.
2. Recommendation (recommend.sh)
Maps each detected technology to three tiers of skills:
| Tier | Source | Description |
| installed | OpenClaw workspace | Skills already in ~/.openclaw/workspace/skills/ |
| available | ClawHub | Installable via clawhub install <name> |
| external | skills.sh / GitHub | External skill files that can be imported |
Also checks combo detections — when multiple techs are present together, recommends specialized combo skills (e.g., nextjs + tailwind + shadcn triggers tailwind-v4-shadcn recommendations).
3. Installation (install.sh)
Installs skills from supported sources:
- clawhub — Uses the
clawhubCLI (falls back tonpx clawhub) - skills.sh — Prints instructions to manually import or use the
skill-absorberskill
The Skills Map
All mappings live in scripts/skills-map.json. Structure:
{
"technologies": {
"tech-name": {
"openclaw": ["local-skill-name"],
"clawhub": ["clawhub-package-name"],
"external": ["github-owner/repo/skill-path"]
}
},
"combos": {
"tech1+tech2+tech3": {
"openclaw": [],
"clawhub": [],
"external": ["owner/repo/combo-skill"]
}
}
}Adding New Mappings
- Edit
scripts/skills-map.json - Add your tech under
technologieswith the three skill arrays - Optionally add combo entries under
combos(techs joined with+) - If your tech needs new detection logic, edit
scripts/detect.sh— seereferences/detection-rules.mdfor details
Currently Mapped Technologies
Languages: javascript, typescript, python, rust, go, php, ruby, java, dart
Frameworks: react, nextjs, vue, nuxt, svelte, angular, astro, express, fastify, hono, nestjs, tailwind, shadcn, prisma, drizzle, supabase, stripe, playwright, vitest, jest, flutter
Infrastructure: docker, kubernetes, terraform, github-actions, vercel, cloudflare
Combos: nextjs+tailwind+shadcn, node+express, react+tailwind, vue+nuxt, prisma+supabase, typescript+vitest
Example Output
Detection
{
"languages": ["javascript", "typescript", "node"],
"frameworks": ["nextjs", "tailwind", "shadcn", "prisma"],
"infrastructure": ["docker", "github-actions", "vercel"],
"packageManager": "pnpm",
"isFrontend": true,
"isBackend": true,
"isFullstack": true
}Recommendations
{
"detection": { "..." },
"recommendations": {
"installed": [
{"skill": "ui-ux-pro-max", "reason": "Detected nextjs"},
{"skill": "dev-workflow", "reason": "Detected typescript"},
{"skill": "github-enhanced", "reason": "Detected github-actions"}
],
"available": [],
"external": [
{"source": "skills.sh", "skill": "vercel-labs/next-skills/next-best-practices", "reason": "Detected nextjs"},
{"source": "skills.sh", "skill": "prisma/skills/prisma-database-setup", "reason": "Detected prisma"},
{"source": "skills.sh", "skill": "secondsky/claude-skills/tailwind-v4-shadcn", "reason": "Combo detected: nextjs + tailwind + shadcn"}
]
},
"summary": {
"totalInstalled": 3,
"totalAvailable": 0,
"totalExternal": 3
}
}Agent Integration
When an agent loads this skill, it should:
- Run detection on the project directory the user is working on
- Present the recommendations in a clear format
- Offer to install available/external skills
- Note which installed skills are already relevant
Typical agent prompt flow:
User: "Scan this project for me"
Agent: runs detect.sh → recommend.sh
Agent: "Found Next.js + Tailwind + Prisma project. You already have ui-ux-pro-max.
I recommend installing prisma-database-setup from skills.sh. Want me to set it up?"Requirements
- bash 4+ (available on all modern Linux/macOS)
- jq (JSON processor — pre-installed on most VPS,
apt install jqif missing) - clawhub CLI (optional, only for ClawHub installs)
No Node.js required for core detection and recommendation.
File Structure
skills/autoskills/
├── SKILL.md ← This file
├── scripts/
│ ├── detect.sh ← Tech stack detection
│ ├── recommend.sh ← Map to skill recommendations
│ ├── install.sh ← Install skills from sources
│ └── skills-map.json ← Technology → skills mapping
└── references/
└── detection-rules.md ← Detailed detection documentationDoes it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

