Summary
The Claude Agent SDK integration in ClaudeAdapter.ts does not pass settingSources to the SDK's query options. As a result, all filesystem-based Claude Code features are silently ignored:
- Skills (
.claude/skills/ and ~/.claude/skills/) — never discovered
- Slash Commands (
.claude/commands/ and ~/.claude/commands/) — never loaded
- CLAUDE.md memory (
CLAUDE.md, .claude/CLAUDE.md) — never read
This means users who have installed Skills (e.g. Impeccable for design review, or any custom Skills) cannot use them through t3code, even though they work perfectly in the Claude Code CLI.
Root Cause
In apps/server/src/provider/Layers/ClaudeAdapter.ts (line ~2561), the queryOptions object is missing the settingSources property:
const queryOptions: ClaudeQueryOptions = {
...(input.cwd ? { cwd: input.cwd } : {}),
...(input.model ? { model: input.model } : {}),
pathToClaudeCodeExecutable: providerOptions?.binaryPath ?? "claude",
// ... other options ...
includePartialMessages: true,
canUseTool,
env: process.env,
...(input.cwd ? { additionalDirectories: [input.cwd] } : {}),
// ⛔ Missing: settingSources
};
Per the official Agent SDK documentation:
"By default, the SDK does not load any filesystem settings. To use Skills, you must explicitly configure settingSources: ['user', 'project']."
Proposed Fix
Add settingSources to the query options:
const queryOptions: ClaudeQueryOptions = {
// ... existing options ...
settingSources: ["user", "project"], // Load Skills, Commands, and CLAUDE.md
};
This could also be made configurable via providerOptions so users can control which sources are loaded (e.g. only "project" for shared team setups, or "user" for personal Skills).
Impact
- Any user with installed Claude Code Skills (user-level in
~/.claude/skills/ or project-level in .claude/skills/) will find that they are completely ignored in t3code
CLAUDE.md project memory files are not loaded, so project-specific instructions don't apply
- Custom slash commands defined in
.claude/commands/ are not available
Steps to Reproduce
- Install a Skill in
~/.claude/skills/ (e.g. the Impeccable design review Skill)
- Open t3code and start a Claude session
- Ask Claude to use the installed Skill (e.g. "use Impeccable to review the design")
- Expected: Claude invokes the Skill
- Actual: Claude has no knowledge of the Skill and cannot use it
Environment
@anthropic-ai/claude-agent-sdk v0.2.77
- Verified against SDK documentation as of 2026-03-21
Summary
The Claude Agent SDK integration in
ClaudeAdapter.tsdoes not passsettingSourcesto the SDK's query options. As a result, all filesystem-based Claude Code features are silently ignored:.claude/skills/and~/.claude/skills/) — never discovered.claude/commands/and~/.claude/commands/) — never loadedCLAUDE.md,.claude/CLAUDE.md) — never readThis means users who have installed Skills (e.g. Impeccable for design review, or any custom Skills) cannot use them through t3code, even though they work perfectly in the Claude Code CLI.
Root Cause
In
apps/server/src/provider/Layers/ClaudeAdapter.ts(line ~2561), thequeryOptionsobject is missing thesettingSourcesproperty:Per the official Agent SDK documentation:
Proposed Fix
Add
settingSourcesto the query options:This could also be made configurable via
providerOptionsso users can control which sources are loaded (e.g. only"project"for shared team setups, or"user"for personal Skills).Impact
~/.claude/skills/or project-level in.claude/skills/) will find that they are completely ignored in t3codeCLAUDE.mdproject memory files are not loaded, so project-specific instructions don't apply.claude/commands/are not availableSteps to Reproduce
~/.claude/skills/(e.g. the Impeccable design review Skill)Environment
@anthropic-ai/claude-agent-sdkv0.2.77