Hello World
The hello-world skill is the simplest possible skillx skill. It demonstrates the full lifecycle: scan, run, observe, cleanup.
SKILL.md
Here is the complete content of examples/skills/hello-world/SKILL.md:
---name: hello-worlddescription: A simple greeting skill that demonstrates skillx capabilitiesauthor: skillx-runversion: "1.0.0"license: MITtags: - example - starter---
# Hello World Skill
You are an assistant using the skillx Hello World skill.
## Instructions
When invoked, greet the user warmly and explain what skillx skills are:
1. **skillx** lets you run any agent skill without installing it2. **Skills** are reusable instruction sets that enhance your AI coding agent3. This skill was injected via `skillx run` — it will be automatically cleaned up when the session ends
Then help the user with whatever task they describe.
## Example Interactions
- "hello" → Greet and briefly introduce skillx- "help me write a function" → Greet, then assist with coding- "what can you do?" → Explain your capabilities enhanced by this skillStructure
This is a single-file skill — just a SKILL.md with no scripts or references:
hello-world/└── SKILL.mdThe frontmatter provides metadata (name, description, author, version, license, tags). The body contains the instructions the agent will follow.
Step 1: Scan
You can use the GitHub source directly from the docs:
skillx scan github:skillx-run/skillx/examples/skills/hello-worldIf you are already inside a local clone of this repository, the equivalent local path is:
skillx scan ./examples/skills/hello-worldExpected output:
Scanning hello-world ──────────────────────────────── ✓ PASS — No issues found
Files scanned: 1 Risk level: PASSThe skill passes cleanly because it contains no dangerous patterns — no external URLs, no shell commands, no sensitive directory references.
Step 2: Run
Run the skill directly from GitHub:
skillx run github:skillx-run/skillx/examples/skills/hello-world "Hello, what can you do?"If you are studying the repository locally, use:
skillx run ./examples/skills/hello-world "Hello, what can you do?"skillx performs the full lifecycle:
- Resolve — Resolves the source, whether it comes from GitHub or a local path
- Scan — Checks for security issues (PASS)
- Detect agent — Identifies your active AI coding agent
- Inject — Copies the skill into the agent’s instruction directory
- Wait — Keeps the session active while you interact with the agent
- Cleanup — Removes all injected files when you press
Ctrl+C
Step 3: Observe
Once injected, your agent has access to the skill’s instructions. The agent will greet you and explain what skillx is, then help with your request.
When you are done, press Ctrl+C to end the session. skillx removes the injected files and archives the session manifest.
Running with Different Agents
By default, skillx auto-detects your active agent. You can override this with --agent:
Claude Code
skillx run github:skillx-run/skillx/examples/skills/hello-world --agent claude-code "Hello"Injects into Claude Code’s CLAUDE.md instruction file.
Codex
skillx run github:skillx-run/skillx/examples/skills/hello-world --agent codex "Hello"Injects into Codex’s instruction directory.
Cursor
skillx run github:skillx-run/skillx/examples/skills/hello-world --agent cursor "Hello"Injects into Cursor’s .cursor/rules/ directory.
Universal (Fallback)
skillx run github:skillx-run/skillx/examples/skills/hello-world --agent universal "Hello"Copies the skill to the project root and displays the content for manual use with any agent.
skillx fetches the GitHub source, caches it locally, scans it, and injects it — all in one command.
If you are testing these same flows from a local clone of skillx-run/skillx, replace the GitHub source with ./examples/skills/hello-world.
Why this example exists
This example exists as the smallest complete skill in the repository, so you can see the minimum viable SKILL.md shape before you study any of the more opinionated patterns.
Next Steps
If you want to see a more practical single-file skill, open Code Review. If you want to turn this minimal shape into your own skill, continue with Writing Skills. If you are ready to skip templates and use something mature from GitHub, go to Famous Skills.