Agent skills in .agents/skills are not discovered by Claude Code
Maintainers usually reply within 1 day
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
- Domain
- developer-experience, tooling
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 thanactions::posts::publish_post(post)). Its own example right after it issrc/actions/publish_post.rs, called asactions::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.mdisn'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 todocumentation.mdfor 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
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from laravel/rust
-
Difficulty 2/5 1-3 hours Newbie friendliness 83/100
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 78/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 64/100
laravel/rust#98 · 8 comments · 10 reactions ·
Maintainers usually reply within 1 day
-
Difficulty 5/5 Over a week Newbie friendliness 25/100
Maintainers usually reply within 1 day
-
Difficulty 5/5 Over a week Newbie friendliness 25/100
Maintainers usually reply within 1 day
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
neuralmagic/crucible#579 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
laravel/rust-framework#864 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
eclipse-score/kyron#249 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 67/100
seanmonstar/reqwest#3157 ·
Maintainers usually reply within 2 days