Agent skills in .agents/skills are not discovered by Claude Code

Open
#120 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

@jonasvanderhaegen is already working on this.

Since Dec 2, 2026.

  • #121 by @jonasvanderhaegen — open

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
35/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
rust

Research direction

Start with the starter app's .agents/skills/ layout and CLAUDE.md, then check the open pull request #121 to see which fix is already underway. Reproduce the reported behavior with the Claude Code command in the issue and compare skill discovery for .agents/skills/ and .claude/skills/. Done means the starter's skills are discovered as skills; the issue also lists separate content corrections and missing guide links to review.

Written by the indexing model from the issue text.

Description

New apps ship seven agent skills in .agents/skills/, and CLAUDE.md (@AGENTS.md) asks the agent to "load the relevant skill under .agents/skills/". Claude Code does not discover skills in that directory, so they never show up as skills and their descriptions can't trigger them. An agent only sees them if it decides to open the files by hand.

Reproduction (Claude Code 2.1.334, macOS)

mkdir -p probe/.agents/skills/zz-agents-probe probe/.claude/skills/zz-claude-probe
printf -- '---\nname: zz-agents-probe\ndescription: probe\n---\nprobe\n' > probe/.agents/skills/zz-agents-probe/SKILL.md
printf -- '---\nname: zz-claude-probe\ndescription: probe\n---\nprobe\n' > probe/.claude/skills/zz-claude-probe/SKILL.md
cd probe && git init -q
claude -p 'reply ok' --output-format stream-json --verbose | head -5   # inspect the system/init event's "skills" array
Layout In the init event's skills
.claude/skills/zz-claude-probe/ yes
.agents/skills/zz-agents-probe/ no
.claude/skills -> ../.agents/skills (symlink) yes (zz-agents-probe)

In a fresh laravel new --rust app, Claude Code read the SKILL.md files with its file tools instead of loading them through the Skill tool.

Possible fix

Ship a .claude/skills symlink to ../.agents/skills in the starter, or have laravel new create it. A symlink needs core.symlinks on Windows checkouts, so a copy step in the installer may be safer there.

Smaller content notes (writing-laravel-rust-apps/SKILL.md)

  • Contradiction. The Action Functions section says to drop the repeated noun (actions::posts::publish(post) rather than actions::posts::publish_post(post)). Its own example right after it is src/actions/publish_post.rs, called as actions::publish_post(post).
  • No guidance on third-party crates. Nothing covers adding and wiring a package (Cargo feature flags, service providers, embedded assets, package migrations), and packages.md isn't linked from any skill. With the first community crates landing, this is the next thing agents get asked to do.
  • Topic table is missing guides. The table omits several guides that no other skill mentions either: broadcasting, websockets, feature-flags, search, processes, redis, encryption, hashing, cookies, csrf, logging, tracing, deployment, development, packages, slack, sms, lottery, container, context, lifecycle, templates. The table does point to documentation.md for the full list.
Dominant language
Rust
Stars
2.2k
Forks
105
Avg merge
7h 19m
Merged PRs (30d)
41

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from laravel/rust

All issues in laravel/rust

Similar issues

More Rust issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.