claude-code - 💡(How to fix) Fix Regression: AskUserQuestion still unavailable in context: fork skills (closed #46654 reoccurring) [4 comments, 4 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
anthropics/claude-code#54892Fetched 2026-05-01 05:51:41
View on GitHub
Comments
4
Participants
4
Timeline
11
Reactions
0
Author
Timeline (top)
labeled ×6commented ×4closed ×1

Issue #46654 ("Deferred tools not loaded in context: fork skills") is marked closed/resolved, but the same failure mode is still reproducing on Claude Code 2.1.123.

A skill declaring context: fork with AskUserQuestion in its allowed-tools list does not get the AskUserQuestion schema loaded inside the forked context. The model in the fork either falls back to plain-text questioning or silently skips the call — no error surfaces to the user.

Error Message

skips the call — no error surfaces to the user.

Root Cause

Issue #46654 ("Deferred tools not loaded in context: fork skills") is marked closed/resolved, but the same failure mode is still reproducing on Claude Code 2.1.123.

A skill declaring context: fork with AskUserQuestion in its allowed-tools list does not get the AskUserQuestion schema loaded inside the forked context. The model in the fork either falls back to plain-text questioning or silently skips the call — no error surfaces to the user.

Fix Action

Fix / Workaround

Workaround in use

Code Example

---
   name: repro-skill
   context: fork
   allowed-tools:
     - Bash
     - AskUserQuestion
   ---
RAW_BUFFERClick to expand / collapse

Summary

Issue #46654 ("Deferred tools not loaded in context: fork skills") is marked closed/resolved, but the same failure mode is still reproducing on Claude Code 2.1.123.

A skill declaring context: fork with AskUserQuestion in its allowed-tools list does not get the AskUserQuestion schema loaded inside the forked context. The model in the fork either falls back to plain-text questioning or silently skips the call — no error surfaces to the user.

Version

  • Claude Code: 2.1.123
  • Platform: macOS (darwin 25.3.0)

Reproduction

  1. Author a skill with the following frontmatter:
    ---
    name: repro-skill
    context: fork
    allowed-tools:
      - Bash
      - AskUserQuestion
    ---
  2. In the skill body, instruct the model to use AskUserQuestion to gather input.
  3. Invoke the skill.

Actual: AskUserQuestion is not invoked. The forked agent prints the question as plain text or skips it.

Expected: Per the resolution of #46654, deferred tools listed in allowed-tools should have their schemas auto-loaded in the forked context so the call succeeds.

Workaround in use

Removing context: fork from the affected skill frontmatter. This restores AskUserQuestion behavior but loses the context isolation the field was meant to provide.

Reference

Original (closed) report: https://github.com/anthropics/claude-code/issues/46654

extent analysis

TL;DR

The issue can be temporarily worked around by removing the context: fork field from the skill frontmatter, but this compromises context isolation.

Guidance

  • Verify that the allowed-tools list in the skill frontmatter includes AskUserQuestion to ensure it's correctly configured.
  • Check if there are any updates or patches available for Claude Code version 2.1.123 that may address the issue.
  • Test the skill with a different context setting to see if the issue is specific to fork.
  • Review the original report and comments on https://github.com/anthropics/claude-code/issues/46654 for any additional insights or workarounds.

Example

No code snippet is provided as the issue is more related to configuration and platform behavior.

Notes

The provided workaround compromises context isolation, which may not be desirable. It's essential to weigh the trade-offs before applying this workaround.

Recommendation

Apply the workaround of removing context: fork from the skill frontmatter, as it provides a temporary solution, but keep an eye on the original issue report for any updates or fixes that may restore the expected behavior without compromising context isolation.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

claude-code - 💡(How to fix) Fix Regression: AskUserQuestion still unavailable in context: fork skills (closed #46654 reoccurring) [4 comments, 4 participants]