Skip to content

docs: document WARP_SKILL_DIRS for cloud agent runs - #506

Open
guyscherzer8 wants to merge 2 commits into
mainfrom
docs/warp-skill-dirs-cloud-runs
Open

docs: document WARP_SKILL_DIRS for cloud agent runs#506
guyscherzer8 wants to merge 2 commits into
mainfrom
docs/warp-skill-dirs-cloud-runs

Conversation

@guyscherzer8

@guyscherzer8 guyscherzer8 commented Aug 12, 2026

Copy link
Copy Markdown
Contributor

What changed

Documents WARP_SKILL_DIRS, the environment variable a cloud agent run reads to index extra skill directories at personal-skill precedence. It shipped in the 2026.08.07 release notes (as "SKILLS_DIRS") but had no docs coverage, and the release note used a different name than the code.

  • platform/skills-as-agents.mdx — new "Extra skill directories in cloud runs" section covering the value format, directory layout, ~ and relative-path resolution against the run's working directory, home-tier precedence, invalid-entry handling, and the fact that third-party harnesses ignore it.
  • agents/capabilities/skills.mdx — pointer from "Skill locations" to that section.

Source

  • warp:crates/ai/src/skills/read_skills.rs (WARP_SKILL_DIRS, parse_skills_dirs_env, resolve_skills_dirs, read_skills_for_skills_dirs)
  • warp:app/src/ai/agent_sdk/driver.rs (load_skills_dirs, called only for HarnessKind::Oz)

Reviewers

Resolved from the warp .github/STAKEHOLDERS for the source files above: @bnavetta, @ianhodge, @warpdotdev/oss-maintainers. Reviewer assignment could not be applied automatically because the available token lacks the read:org scope.

Validation

npm run build passes; the missing_docs audit no longer reports this changelog item as unverified.

Found by

The missing_docs drift-watch audit (changelog cross-check).

Conversation: https://staging.warp.dev/conversation/1bda9ae7-44b1-43c5-bb7a-d22ccf8b6c16
Run: https://oz.staging.warp.dev/runs/019ff6ea-bc3c-7336-b1f5-9f1f5b89cd84

This PR was generated with Oz.

Documents the WARP_SKILL_DIRS environment variable that indexes extra skill
directories at personal-skill precedence during cloud runs, and links to it
from the skill locations section.

Co-Authored-By: Warp Agent <agent@warp.dev>
@cla-bot cla-bot Bot added the cla-signed label Aug 12, 2026
@vercel

vercel Bot commented Aug 12, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
docs Ready Ready Preview Aug 12, 2026 5:51pm

Request Review

@hongyi-chen
hongyi-chen marked this pull request as ready for review August 12, 2026 17:48
@oz-for-oss

oz-for-oss Bot commented Aug 12, 2026

Copy link
Copy Markdown
Contributor

@hongyi-chen

I'm starting a first review of this pull request.

You can view the conversation on Warp.

I completed the review and no human review was requested for this pull request.

Comment /oz-review on this pull request to retrigger a review (up to 3 times on the same pull request).

Powered by Oz

* **Directory layout** - Each entry is a skills directory whose direct children are skill folders containing a `SKILL.md`, the same layout as `.agents/skills/`. Point the variable at the parent directory, not at an individual skill folder.
* **Path resolution** - A leading `~` expands to the home directory. Relative entries resolve against the run's working directory rather than the agent process's current directory, so they stay stable even when setup steps change directories.
* **Precedence** - Skills loaded this way are treated as personal (home) skills, so they stay in scope for the whole run regardless of which directory the agent is working in. Repository skills of the same name still appear separately, as described in [skill name conflicts](/agents/capabilities/skills/#skill-name-conflicts).
* **Invalid entries** - Paths that are missing or aren't directories are skipped with a warning in the run log, and an unset or empty value does nothing.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we can remove this last point

How the value is interpreted:

* **Directory layout** - Each entry is a skills directory whose direct children are skill folders containing a `SKILL.md`, the same layout as `.agents/skills/`. Point the variable at the parent directory, not at an individual skill folder.
* **Path resolution** - A leading `~` expands to the home directory. Relative entries resolve against the run's working directory rather than the agent process's current directory, so they stay stable even when setup steps change directories.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

not sure if this one is necessary

@oz-for-oss oz-for-oss Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Overview

This PR documents WARP_SKILL_DIRS for cloud agent runs and links the skill locations page to the new section. The new section is mostly aligned with the implementation, but it includes one factual contradiction about third-party harness support.

Concerns

  • The docs say Claude Code and Codex ignore WARP_SKILL_DIRS, but the implementation publishes those skill directories into each harness's native skill root before launch.
  • No security findings.
  • No approved or repository spec context was available for spec-drift validation.

Verdict

Found: 1 critical, 0 important, 0 suggestions

Request changes

Comment /oz-review on this pull request to retrigger a review (up to 3 times on the same pull request).

Powered by Oz

* **Precedence** - Skills loaded this way are treated as personal (home) skills, so they stay in scope for the whole run regardless of which directory the agent is working in. Repository skills of the same name still appear separately, as described in [skill name conflicts](/agents/capabilities/skills/#skill-name-conflicts).
* **Invalid entries** - Paths that are missing or aren't directories are skipped with a warning in the run log, and an unset or empty value does nothing.

This variable applies to cloud runs on the Warp Agent harness. [Third-party harnesses](/platform/harnesses/) such as Claude Code and Codex use their own skill systems and ignore it.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚨 [CRITICAL] This says third-party harnesses ignore WARP_SKILL_DIRS, but the implementation publishes these directories into Claude Code and Codex skill roots, so users would be told not to use a supported path.

Suggested change
This variable applies to cloud runs on the Warp Agent harness. [Third-party harnesses](/platform/harnesses/) such as Claude Code and Codex use their own skill systems and ignore it.
The Warp Agent harness reads `WARP_SKILL_DIRS` directly. Claude Code and Codex cloud runs publish these skills into each harness's own skill root before launch so those harnesses can discover them through their native skill systems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants