From filetree
An IDE-style file tree for Claude Code that shows what Claude is doing and where in files
14 events · 35 calls
Ships in filetree. Installing the plugin adds it to Claude Code.
A mod runs inside Claude Code as you, unsandboxed. This is what its source calls.
tool.checktool.callprocess.runprocess.spawnfs.writefs.existsfs.listfs.readfs.statenv.getconfig.setcommand.runprompt.submitEach event it registers a hook on, with the matcher when it sets one
session.startconfig.setcommand.run{command=filetree}tool.calltool.check{tool=/"^(Edit|Write|NotebookEdit|Bash|PowerShell)$"/}tool.call{tool=Read}turn.startturn.completeui.messagesession.endui.closeui.focus{component=Pane, requestId=filetree}ui.scroll{component=Pane, requestId=filetree}prompt.submitui.render{component=AssistantMessage}ui.render{component=Pane, requestId=filetree}Every mods API method its source calls, by namespace
aftereverynowlistregisterrunlistsetgetexistslistreadstatwriterunspawncwdidsurfacesversiongetsetgetsetaskblitclosecopyfocusinvalidateopenpanesresolvescrolltoastCLAUDE_CONFIG_DIREDITORHERDR_BIN_PATHHERDR_ENVHERDR_WORKSPACE_IDHOMEKITTY_WINDOW_IDOSSHELLSSH_CONNECTIONSSH_TTYTERMTERM_PROGRAMTMPDIRTMUXUSERPROFILEVISUALXDG_RUNTIME_DIRWhere Claude Code finds the mod
hooks/hooks.jsonhooks/register.tsx (written ./register.tsx)Read from the source, never run. Claude Code checks a mod again when it loads it and can refuse code this reading accepts; claude plugin validate shows its own list.
npx claudepluginhub data-goblin/claude-code-filetree --plugin filetree