Install the Staplehire skill so AI agents can discover commands, pass required flags, and consume JSON output safely.Documentation Index
Fetch the complete documentation index at: https://staplehire.com/docs/llms.txt
Use this file to discover all available pages before exploring further.
Install skills
skills install installs the staplehire-cli skill into supported agent roots.
--copy to copy files instead of symlinking, or --dry-run to preview changes.
Agent workflow
- Install the skill with
staplehire skills install. - Discover commands with
staplehire commands. - Check auth and API reachability with
staplehire doctor -q. - Pass all required flags explicitly.
- Poll async jobs before reading generated results.
Supported editors
| Editor | Setup |
|---|---|
| Cursor | staplehire skills install; run commands in the agent terminal |
| Claude Code | Load the installed skill, then use JSON commands |
| OpenAI Codex | Use the same CLI and command tree |
| OpenClaw | Use skills plus terminal access |
| Hermes Agent | Use for long-running hiring workflows |
| Pi | Use terminal harness plus npm-installed skills |
Rules for agents
- Do not use
staplehire loginin CI or unattended runs. - Do not guess role, candidate, design, or job IDs.
- Prefer
staplehire commandsover memorized command shapes. - Use
-qor pipe stdout when a script needs JSON only. - After
candidates enrichorsourcing start, calljobs pollbefore reading results.
FAQ
Can agents run Staplehire without browser login?
Yes. SetSTAPLEHIRE_KEY in the environment or pass --api-key for one command.
What should an agent do first?
Runstaplehire doctor -q. It confirms the CLI version, key source, API URL, and API validation result.
How do agents discover command arguments?
Runstaplehire commands. It prints the machine-readable command tree as JSON.
Related: Authenticate the Staplehire CLI · Poll Staplehire CLI jobs · CLI errors