prompt field in its frontmatter. The prompt records how the page was generated and identifies its source files, folders, and URLs.holocron maintain │ ┌──────────────┴──────────────┐ v v parent agent GitHub Actions --since origin/main no args on push │ │ v v edit MDX only edit MDX, then PR parent opens the PR holocron/maintain-<timestamp>
prompt is the original instruction used to generate the page. Use @/path for files and folders from the repository root. Use @./path or @../path when the source sits next to the MDX page. Prefix remote sources with @https://. Bare URLs in prose are not references.12345678910111213141516--- $schema: https://holocron.so/frontmatter.json title: Authenticate API requests sidebarTitle: Authentication description: Authenticate requests with sessions, API keys, and GitHub Actions OIDC. prompt: | Write the authentication guide from @/src/auth/ and @/src/middleware/session.ts. Use @https://github.com/example/project/releases for recent behavior changes. Explain sessions, API keys, and GitHub Actions OIDC authentication. Include a complete TypeScript example for every method. --- # Authentication Use a session or API key to authenticate API requests.
repository root │ ├── src/auth/ <── @/src/auth/ ├── src/middleware/session.ts <── @/src/middleware/session.ts └── website/src/pages/docs/auth.mdx │ └── @./setup.mdx relative to this page
@/ always starts at the git repository root, so the path stays valid if you move the MDX file. @./ and @../ start at the MDX file. @https:// marks a remote source. A file reference selects the page when that file changes. A folder reference selects it when any tracked file inside that folder changes, including files inside a git submodule. Use the parent-root path for submodule sources, for example @/template/src/index.mdx. GitHub release events and explicit routine runs can select matching @https:// URL references.1npx -y "@holocron.so/cli" maintain --since origin/main
--since compares the merge base of that ref with HEAD. Pages whose @/ sources sit in that range are selected.HEAD. That is useful when the parent already changed source files in the same session.--dry-run to inspect the selection without authentication or a model call.1npx -y "@holocron.so/cli" maintain --since origin/main --dry-run
--all with a run prompt for work that is not tied to one changed source, such as grammar, SEO, links, or style checks.12npx -y "@holocron.so/cli" maintain --all \ --prompt "Audit every page for weak titles and descriptions."
12npx -y "@holocron.so/cli" maintain --all \ --prompt-file .holocron/prompts/weekly-review.md
holocron/maintain-<timestamp> before OpenCode starts and adds publish instructions to the session prompt, not the system prompt, so tasks never commit. When pages changed, the parent session commits them and runs holocron maintain-open-pr with the pull request title and body. Maintain then pushes and opens the pull request. The GitHub Actions page covers the no-args push range.git push and gh are denied in every mode. The parent continues with its own PR setup after the command exits.| Hosted id | Notes |
deepseek-v4-flash | Default |
glm-5.3-flash | Cheapest |
12npx -y "@holocron.so/cli" maintain --since origin/main npx -y "@holocron.so/cli" maintain --model glm-5.3-flash
--model provider/model to use your own OpenCode provider instead. Holocron does not create a run, does not bill credits, and does not need Pro. OpenCode reads the provider key from the environment, or from opencode auth login (/connect inside the OpenCode TUI).1npx -y "@holocron.so/cli" maintain --model anthropic/claude-sonnet-4-5
holocron maintain │ ├── no --model / glm-5.3-flash ──> Holocron-hosted model (Pro bill) │ └── --model anthropic/claude-sonnet-4-5 │ └──> OpenCode provider + your ANTHROPIC_API_KEY
id-token: write, so the workflow does not need a stored Holocron key.HOLOCRON_KEY. Local runs use the existing holocron login session. Pass --project only when the local account has multiple projects.--model provider/model skips Holocron auth. Set the provider key from the OpenCode providers docs instead.| Option | Purpose |
--all | Review all prompted pages, or every page when used with a run prompt. |
--since <ref> | Detect source changes between the ref merge base and HEAD. |
--prompt <text> | Add temporary instructions for this run. |
--prompt-file <path> | Read temporary instructions from a Markdown file. |
--dry-run | Report selected pages without a model call. |
--model <id> | Holocron-hosted model, or provider/model for your own OpenCode keys. |
--project <id> | Select a project for a local session with multiple projects. |