import-skill
Import a third-party skill into this owned catalog (dotlas/skills) from a skills.sh URL, a GitHub repo/subdir, or a pasted `npx skills add` command.
Skill by dotlas
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/dotlas-import-skill
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/import-skill
What's inside
- Skill name
import-skill- Description
- Import a third-party skill into this owned catalog (dotlas/skills) from a skills.sh URL, a GitHub repo/subdir, or a pasted `npx skills add` command. Use when the user wants to add, vendor, or import a skill, pastes a skills.sh link or an `npx skills add …` command, and the target is this repo's `skills/` catalog.
- License
- MIT
- Instructions
- 100 lines in SKILL.md · view on GitHub
Files (1)
- SKILL.md
SKILL.md (first lines)
# Import a skill into this catalog
This repo is an **owned catalog**: skills are vendored as first-class directories under
`skills/<category>/<provenance>/<name>/`, grouped for the `skills` CLI by
`.claude-plugin/marketplace.json`, and there is deliberately **no `skills-lock.json`**.
The stock `npx skills add` violates both conventions — it writes a lock file and drops
skills flat under `skills/<name>/`. This skill replaces that default with the correct
local procedure.
Every import runs one **spine**: **resolve → clone-to-scratch → copy whole dir →
classify → place → register → assert-no-lock → verify → commit**. The three input forms
differ only in the first step; do not run `npx skills add` to perform the import even
when handed that command — parse it to a target and take the clone path like the others.
## 1. Resolve the source to `owner/repo` + skill path
Produce a concrete `(owner/repo, ref, skill-dir-in-repo, slug)`. The **slug** is the
frontmatter `name:` the skill will be identified by, not necessarily its folder name.
- **skills.sh URL** (`https://skills.sh/<owner>/<repo>/<slug>`) → the GitHub repo is
`<owner>/<repo>`; the last segment is the target **slug**. Find the dir whose
`SKILL.md` frontmatter `name:` equals that slug (folder name may differ).
- **GitHub repo or subdir** (`owner/repo`, or `.../tree/<branch>/<subdir>`) → clone and
locate the `SKILL.md`. If a subdir is given it points at (or into) the skill dir.
- **Pasted `npx skills add …`** → parse the source arg and any `-s <skill>` out of the
command to the same `(owner/repo, skill)` target.
Do not execute the command.
## 2. Clone to scratch and copy the whole directory
Shallow-clone the source repo into a scratch directory (never into this repo).
Copy the **entire skill directory**, not just `SKILL.md` — skills commonly ship
`rules/`, `lib/`, `references/`, `scripts/`, `agents/`, and other supporting files.
```sh
git clone --depth 1 [--branch <ref>] https://github.com/<owner>/<repo> "$SCRATCH/src"
```
## 3. Classify: category + provenance + slug
- **category** ∈ `{generic, frontend}` — pick by function (frontend =
web/UI/React/Next.js work; generic otherwise).
- **provenance** ∈ `{custom, community}` — an imported third-party skill is almost
always `community`.
When either is not obvious from the source, use **AskUserQuestion** to confirm,
proposing a default.
Then confirm the final **slug**.
**Collision check at the frontmatter `name:` level, not just the folder name** — the CLI
identifies skills by `name:`. Grep existing `SKILL.md` frontmatter for the slug; a
colliding `name:` under a different folder still collides.
On collision, rename **both** the folder and the frontmatter `name:` to a distinct slug.
## 4. Place the directory
Copy to `skills/<category>/<provenance>/<slug>/`.
## 5. Register in `.claude-plugin/marketplace.json`
Add `"./skills/<category>/<provenance>/<slug>"` to the matching plugin’s `skills` array
(`custom-generic`, `community-generic`, `custom-frontend`, or `community-frontend`). The
arrays are **alphabetical** — insert in order.
Keep the JSON valid.
## 6. Assert no lock file
There must be **no `skills-lock.json`** anywhere in the repo.
Remove one if it exists — whether the stock CLI wrote it or it **rode in on the copy**
from the source dir — and note why in the commit.
```sh
find . -name skills-lock.json -not -path './.git/*' -delete
```
## 7. Verify from the local checkout
Confirm the new skill lists under the intended group **before committing** — the CLI
lists a local path without needing a push:
```sh
npx -y skills add . -l
```
The completion criterion: the new slug appears under the correct group header (Community
Frontend / Community Generic / Custom Frontend / Custom Generic) and no
`skills-lock.json` exists.
(`npx skills add dotlas/skills -l` clones the **remote** and only reflects the import
after it is pushed — use it as a post-push confirmation, not the pre-commit gate.)
## 8. Commit
Commit with the **[[commit]]** skill’s conventions.
* * *
**This skill itself** lives at `skills/generic/custom/import-skill/` and is registered
in `marketplace.json` under `custom-generic` — it is the worked example of the layout it
enforces.From dotlas/skills, MIT.
More from dotlas/skills
- 0.507score
tidy-next-codebase
dotlas
Audit a Next.js codebase for stale/dead code and duplication, turn the findings into a fully deterministic cleanup plan, then execute it as a gated…
SkillCFreshness: C★ 2Claude Code +9 - 0.507score
commit
dotlas
Commit local changes — inspect the working tree, group into atomic conventional commits, and write messages that match the repo's conventions.
SkillCFreshness: C★ 2Claude Code +9 - 0.507score
codebase-integrity
dotlas
Audit the codebase for dependency conflicts, loose types, duplicated patterns, and import boundary violations.
SkillCFreshness: C★ 2Claude Code +9 - 0.487score
impeccable
dotlas
Use when the user wants to design, redesign, shape, critique, audit, polish, clarify, distill, harden, optimize, adapt, animate, colorize, extract, or…
SkillCFreshness: C★ 2Claude Code +9 - 0.479score
improve-codebase-architecture
dotlas
Scan a codebase for deepening opportunities, present them as a visual HTML report, then grill through whichever one you pick.
SkillCFreshness: C★ 2Claude Code +9 - 0.477score
grilling
dotlas
Grill the user relentlessly about a plan, decision, or idea.
SkillCFreshness: C★ 2Claude Code +9 - 0.476score
resolving-merge-conflicts
dotlas
Use when you need to resolve an in-progress git merge/rebase conflict.
SkillCFreshness: C★ 2Claude Code +9 - 0.476score
teach
dotlas
Teach the user a new skill or concept, within this workspace.
SkillCFreshness: C★ 2Claude Code +9 - 0.471score
handoff
dotlas
Compact the current conversation into a handoff document for another agent to pick up.
SkillCFreshness: C★ 2Claude Code +9 - 0.350score
vercel-react-best-practices
vercel
React and Next.js performance optimization guidelines from Vercel Engineering.
SkillCFreshness: C★ 2Claude Code +9
Signals
- Stars
- 2
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- Jul 24, 2026 (3 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/dotlas/skills
- Website
- www.skills.sh/dotlas/skills
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from dotlas
- 0.507score
codebase-integrity
dotlas
Audit the codebase for dependency conflicts, loose types, duplicated patterns, and import boundary violations.
SkillCFreshness: C★ 2Claude Code +9 - 0.507score
tidy-next-codebase
dotlas
Audit a Next.js codebase for stale/dead code and duplication, turn the findings into a fully deterministic cleanup plan, then execute it as a gated…
SkillCFreshness: C★ 2Claude Code +9 - 0.507score
commit
dotlas
Commit local changes — inspect the working tree, group into atomic conventional commits, and write messages that match the repo's conventions.
SkillCFreshness: C★ 2Claude Code +9 - 0.487score
impeccable
dotlas
Use when the user wants to design, redesign, shape, critique, audit, polish, clarify, distill, harden, optimize, adapt, animate, colorize, extract, or…
SkillCFreshness: C★ 2Claude Code +9 - 0.479score
improve-codebase-architecture
dotlas
Scan a codebase for deepening opportunities, present them as a visual HTML report, then grill through whichever one you pick.
SkillCFreshness: C★ 2Claude Code +9 - 0.477score
grilling
dotlas
Grill the user relentlessly about a plan, decision, or idea.
SkillCFreshness: C★ 2Claude Code +9
Cite this page
import-skill. Agent Mart. https://agentmart.dev/skills/dotlas-import-skill (last updated 2026-10-24)