convert-as-skill
Convert existing material into a skill, or merge existing skills into one.
Skill by pahlevikun
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/pahlevikun-convert-as-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
Use cases: documents, writing, agent-building
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
- Runs as
- Python package
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/convert-as-skill
What's inside
- Skill name
convert-as-skill- Description
- Convert existing material into a skill, or merge existing skills into one. Use when asked to convert a rule, command or agent to a skill, save a conversation as a skill, turn a PDF or docs folder into a skill, or merge two skills into one. Not for writing a skill from scratch (`create-skill`).
- License
- MIT
- Instructions
- 62 lines in SKILL.md · view on GitHub
Before installing
- Ships executable scripts
Files (28)
- SKILL.md
- classify.mjs · scripts/
- convert.mjs · scripts/
- extract_document.py · scripts/
- LICENSE.md · scripts/extractor/
- __init__.py · scripts/extractor/
- config.py · scripts/extractor/
- dependencies.py · scripts/extractor/
- exceptions.py · scripts/extractor/
- __init__.py · scripts/extractor/parsers/
- docx.py · scripts/extractor/parsers/
- epub.py · scripts/extractor/parsers/
- html.py · scripts/extractor/parsers/
- pdf.py · scripts/extractor/parsers/
- rtf.py · scripts/extractor/parsers/
- text.py · scripts/extractor/parsers/
- sanitize.py · scripts/extractor/
- scan_generated_skill.py · scripts/extractor/
- merge.mjs · scripts/
- GUIDE.md · specialities/from-agent/
- subagent.md · specialities/from-agent/
- GUIDE.md · specialities/from-conversation/
- GUIDE.md · specialities/from-document/
- GUIDE.md · specialities/from-rule/
- mapping.md · specialities/from-rule/
- GUIDE.md · specialities/merge-skills/
- harvest.md · templates/
- merge-outline.md · templates/
SKILL.md (first lines)
# Convert as skill One skill, six use cases. A classifier picks exactly one, or asks. Load only that use case's GUIDE. Copy, extract, distill and compose are different jobs. For a new skill with no source file use `create-skill`. For a new rule, command or agent use `create-rule`, `create-command` or `create-agent`. ## Principles 1. **Classify first.** Run `scripts/classify.mjs` before opening a GUIDE. File layout beats wording. Never default to conversation. 2. **One use case per input.** A PDF is never copied as a rule. Mixed kinds are sequential jobs, or `ask` — not one blended skill. 3. **Copy vs extract vs distill vs compose.** Rules and agents copy the body. A conversation extracts what worked. A document distills structure. Merge composes a new skill and leaves the sources. Enhance adds to one skill from other sources, in our own words. 4. **Preview, then write. Never delete on your own.** Dry-run first. Remove originals only after the user has reviewed the result and asked. 5. **Third-party material stays private.** Do not commit a generated book skill, a clone of an upstream repo or a source map to this catalog. They live in an ignored scratch folder. ## Step 0 — classify ```bash node scripts/classify.mjs [--text "<user request>"] [--json] [path...] ``` | Status | Do | |---|---| | `ok` | State the kind and reason. Load **only** that GUIDE. | | `ask` | Ask the printed question. Load no GUIDE. | | `reject` | Stop. Use the named create-* skill instead. | `from-command` uses the from-rule GUIDE; the kind stays distinct in logs. ## Use cases | Kind | Source | What happens | GUIDE | |---|---|---|---| | `from-rule` / `from-command` | `.mdc`, `rules/`, `commands/` | **Copy** the body | [from-rule](specialities/from-rule/GUIDE.md) | | `from-agent` | `agents/*.md` | Keep / wrap / convert, then **copy** | [from-agent](specialities/from-agent/GUIDE.md) | | `from-conversation` | Chat / transcript, no files | **Extract** what worked | [from-conversation](specialities/from-conversation/GUIDE.md) | | `from-document` | PDF, docs folder, HTML, URL | **Distill** structure | [from-document](specialities/from-document/GUIDE.md) | | `merge-skills` | Two or more skill folders | **Compose** one new skill | [merge-skills](specialities/merge-skills/GUIDE.md) | | `enhance-skill` | One skill folder plus upstream skills, repos or pages | **Add to** the skill: keep, replace or drop each method, write it ourselves | [enhance-skill](specialities/enhance-skill/GUIDE.md) | Scripts: `scripts/classify.mjs`, `scripts/convert.mjs` (rules/agents only), `scripts/extract_document.py`, `scripts/merge.mjs`, `scripts/enhance.mjs` (read-only inventory and fetch plan). Document parsers live in `scripts/extractor/` (`pdf.py`, `html.py`, `docx.py`, `epub.py`, `text.py`, `rtf.py`, `sanitize.py`, `dependencies.py`, `config.py`, `exceptions.py`, `scan_generated_skill.py`). Templates: [harvest.md](templates/harvest.md), [merge-outline.md](templates/merge-outline.md), [enhance-map.md](templates/enhance-map.md). ## Do not - Open a GUIDE before classify, or load two GUIDEs for one input. - Treat "verbatim" as a use case. It is only how from-rule / from-agent copy the body. - Default "convert this" with no files to a conversation. - Run `convert.mjs` on a PDF or a skill folder, or `extract_document.py` on `rules/` / `commands/` / `agents/`. - Use `enhance-skill` to combine two skills (that is merge), or to turn a book into a skill (that is from-document). - Drop a useful source idea only because it was big. Replace it with a smaller version of your own. - Delete sources, or commit a third-party book dump to this catalog. ## Related skills - `create-skill`: write a skill from scratch, or fix the result after conversion. - `polyglot-copywriter`: rewrite the harvested methods in simple, plain words. - `second-opinion`: have a second reviewer check an enhancement before you report it. - `create-rule`: the source is a rule and it should stay a rule. - `create-command`: the source is a saved prompt and it should stay a command. - `create-agent`: the source is a subagent and it should stay one. ## Done when - Classify printed one kind (or asked / redirected) and only that GUIDE ran. - The new skill lints clean. Skipped or refused inputs have a stated reason. - The user knows which originals remain and how to remove or restore them.
From pahlevikun/levistack, MIT.
More from pahlevikun/levistack
- 0.570score
output-savers
pahlevikun
Engineering principles plus plain STE writing in one skill.
SkillAFreshness: AClaude Code +9 - 0.570score
create-agent
pahlevikun
Create, audit, test or improve subagents (agents/*.md for Claude Code and Cursor), including prompts, tool and model choice, multi-agent orchestration and…
SkillAFreshness: AClaude Code +9 - 0.570score
create-agents-md
pahlevikun
Create, audit or refresh AGENTS.md files: the repo root, nested package files, and the user-level global file, for Claude Code, Cursor and Codex.
SkillAFreshness: AClaude Code +9 - 0.570score
create-command
pahlevikun
Create, audit or improve slash commands (commands/*.md, .claude/commands, .cursor/commands): saved prompts you run as /name, with arguments and tool…
SkillAFreshness: AClaude Code +9 - 0.570score
create-hook
pahlevikun
Create, wire up, test and debug agent hooks: Claude Code settings.json or plugin hooks, Cursor hooks.json, or a shared hooks/ tree, with working recipes.
SkillAFreshness: AClaude Code +9 - 0.570score
create-rule
pahlevikun
Create, audit or tighten persistent rules for coding agents: .claude/rules/*.md, .cursor/rules/*.mdc, a catalog rules/ tree, CLAUDE.md or AGENTS.md.
SkillAFreshness: AClaude Code +9 - 0.570score
create-skill
pahlevikun
Create, audit, grow or repair agent skills (a folder with SKILL.md) for Claude Code, Cursor, Codex and the skills CLI, including skills that write or run plans.
SkillAFreshness: AClaude Code +9 - 0.570score
super-architecture
pahlevikun
Detect, choose, build, evaluate, migrate and document software architecture.
SkillAFreshness: AClaude Code +9 - 0.570score
super-caching
pahlevikun
Super caching: domain router for web (browser, CDN, service worker, HTTP Cache-Control, BFF/API route cache), mobile (on-device, offline, image cache…
SkillAFreshness: AClaude Code +9 - 0.570score
super-protobuf
pahlevikun
Protocol Buffers (proto3) design, buf.yaml/buf.gen.yaml, Connect and gRPC services, protovalidate, lint and breaking checks, schema evolution, mixed-version…
SkillAFreshness: AClaude Code +9 - 0.570score
super-tech-blueprint
pahlevikun
Choose or generate a target technology stack: compare frameworks with TCO, security and ecosystem scoring, plan a migration, or write a blueprint for a new or…
SkillAFreshness: AClaude Code +9 - 0.570score
atomic-semantic-commit
pahlevikun
Split a messy working tree into small commits, one purpose and one context per commit, with semantic commit messages (feat, fix, docs, style, refactor, test…
SkillAFreshness: AClaude Code +9
Signals
- Stars
- 0
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- Oct 5, 2026 (23 days ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/pahlevikun/levistack
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from pahlevikun
- 0.570score
create-agent
pahlevikun
Create, audit, test or improve subagents (agents/*.md for Claude Code and Cursor), including prompts, tool and model choice, multi-agent orchestration and…
SkillAFreshness: AClaude Code +9 - 0.570score
create-agents-md
pahlevikun
Create, audit or refresh AGENTS.md files: the repo root, nested package files, and the user-level global file, for Claude Code, Cursor and Codex.
SkillAFreshness: AClaude Code +9 - 0.570score
create-command
pahlevikun
Create, audit or improve slash commands (commands/*.md, .claude/commands, .cursor/commands): saved prompts you run as /name, with arguments and tool…
SkillAFreshness: AClaude Code +9 - 0.570score
create-hook
pahlevikun
Create, wire up, test and debug agent hooks: Claude Code settings.json or plugin hooks, Cursor hooks.json, or a shared hooks/ tree, with working recipes.
SkillAFreshness: AClaude Code +9 - 0.570score
create-rule
pahlevikun
Create, audit or tighten persistent rules for coding agents: .claude/rules/*.md, .cursor/rules/*.mdc, a catalog rules/ tree, CLAUDE.md or AGENTS.md.
SkillAFreshness: AClaude Code +9 - 0.570score
create-skill
pahlevikun
Create, audit, grow or repair agent skills (a folder with SKILL.md) for Claude Code, Cursor, Codex and the skills CLI, including skills that write or run plans.
SkillAFreshness: AClaude Code +9
Cite this page
convert-as-skill. Agent Mart. https://agentmart.dev/skills/pahlevikun-convert-as-skill (last updated 2026-10-24)