[BUG] Agents are unable to create files
Resolved 💬 2 comments Opened Sep 11, 2025 by mkeefe-ac Closed Sep 12, 2025
Preflight Checklist
- [x] I have searched existing issues and this hasn't been reported yet
- [x] This is a single bug report (please file separate reports for different bugs)
- [x] I am using the latest version of Claude Code
What's Wrong?
When I try to run a custom agent, the agent completes successfully, but none of the files it claims to have created actually exist.
What Should Happen?
The agent should have created the files it claims to have created.
Error Messages/Logs
Steps to Reproduce
- Create a custom agent. (Mine happens to be a python-agent installed at ~/.claude/agents/)
- Invoke the agent to implement some feature
- The agent completes successfully and lists the files it claims to have created
None of the files actually exist.
I asked Claude to investigate why the agent was failing and it indicated that it is because the agent is executing within a sandboxed environment.
Claude Model
Sonnet (default)
Is this a regression?
I don't know
Last Working Version
_No response_
Claude Code Version
1.0.111
Platform
Anthropic API
Operating System
Ubuntu/Debian Linux
Terminal/Shell
Other
Additional Information
Ubuntu 22.04.1
This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗