Skip to content

[BUG] Claude Code can't seem to be able to load the skills, agents and subagents automatically. #40

Description

@marcel-Ngan

By following the guide, Claude Code can't seem to load Claude Code Tresor automatically.
These are the problems it has found.
Problem 1: Skills Directory Structure is Too Nested

Current structure:
.claude/skills/engineering-team/code-reviewer/SKILL.md ❌
.claude/skills/product-team/product-strategist/SKILL.md ❌

Expected structure:
.claude/skills/code-reviewer/SKILL.md ✅
.claude/skills/product-strategist/SKILL.md ✅

Claude Code looks for skills at .claude/skills/{skill-name}/SKILL.md (one level), but yours are nested two levels deep.


Problem 2: Agents Should Be Flat .md Files

Current structure:
.claude/agents/security-auditor/agent.md ❌ (symlink to subagents)
.claude/subagents/core/security-auditor/agent.md ❌

Expected structure:
.claude/agents/security-auditor.md ✅
.claude/agents/test-engineer.md ✅

Agents should be single .md files directly in .claude/agents/, not directories with agent.md inside.


Problem 3: Non-Standard YAML Frontmatter Fields

Your subagent files include unsupported fields:
category: "engineering" ❌ Not supported
team: "engineering" ❌ Not supported
color: "#3B82F6" ❌ Not supported
subcategory: "languages" ❌ Not supported
capabilities: [...] ❌ Not supported
max_iterations: 50 ❌ Not supported

Supported fields:
name: agent-name ✅
description: ... ✅
tools: Read, Edit, Grep ✅
model: sonnet ✅ (opus, sonnet, haiku, inherit)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions