Repository navigation
Description
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.mdproject 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-sdkv0.2.77- Verified against SDK documentation as of 2026-03-21
Activity
fix(claude): add settingSources to load Skills, Commands, and CLAUDE.md
TaylorJonesTRT commentedon Mar 22, 2026
I believe I've been noticing this too when using the Claude Code adapter when it comes to using CLAUDE.md/AGENTS.md files and it not picking up on that for its context/memory.
JoanLaRosa commentedon Mar 23, 2026
agree, this makes t3 code unusable as I rely so heavily on Agents/Skills and Commands
mwolson commentedon Mar 24, 2026
The fix for this landed in #1334 (merged 2026-03-23), which adds
settingSources: ["user", "project", "local"]to the Claude adapter'squeryOptions.drj613 commentedon Mar 24, 2026
I'm not seeing slash commands even with that pulled in
vs Claude Code:
If I ask the agent what skills it has available it does properly list them all out, but the
/commandsdon't get propagated to the UI when typing my input. Codex is also missing its$skillcommandsV4G4X commentedon Apr 10, 2026
The ONLY feature I'm waiting for to fully switch to t3code. ❤️
cafreeman commentedon Apr 10, 2026
Same, this is the single-biggest blocker for me.