Skip to content

Passlock skill for Codex, Claude and other LLM coding agents

Use our SKILL.md to instruct your LLM coding agent to read the authoritative, agent friendly documentation.

Copy this skill into the relevant location:

  • Codex project: .agents/skills/passlock-agent-docs/SKILL.md
  • Codex user: ~/.agents/skills/passlock-agent-docs/SKILL.md
  • Claude Code project: .claude/skills/passlock-agent-docs/SKILL.md
  • Claude Code user: ~/.claude/skills/passlock-agent-docs/SKILL.md

The skill is a public-doc retrieval guide for Passlock. It tells an agent to:

  • Use the public Passlock docs and API reference markdown files
  • Start with https://passlock.dev/llms.txt for broad discovery
  • Search the generated LLM indexes on passlock.dev and apidocs.passlock.dev
  • Fetch only the relevant markdown pages after search narrows the topic
  • Prefer runbook docs for integration guidance and API docs for exact symbols and signatures
  • Cite public URLs in the final answer

The skill maintains a local search index, so agents can quickly identify the relevant documentation. It does not cache the documents themselves. At query time the agent:

  • Fetches llms/search-cache-id.txt
  • If search-index-{id]}.json does not exist locally:
    • Fetches search-index-{id}.json
    • Caches that file locally under the same ID
  • Searches the cache for query terms
  • Returns the highest-scoring matching page URLs

Note: The content of search-cache-id.txt serves as a cache busting key