An AI code exporter that compiles all your scripts to be able to upload to any external LLM or other AI tools to debug, develop and refine.Turn Your Unity Codebase Into AI-Ready Context InstantlyWorking with large Unity projects in AI tools like ChatGPT or Claude can be frustrating. Files are scattered, context is limited, and irrelevant scripts (plugins, packages, etc.) create noise.Dagger’s AICodebaseExporter solves this by transforming your project into a clean, structured format that AI can understand immediately.Built for AI WorkflowsInstead of dumping raw files, this tool:Organizes your code into a structured, readable formatPreserves file hierarchy and contextFilters out unnecessary scriptsOutputs AI-friendly files ready to pasteResult: Better answers, faster debugging, and clearer insights.Key FeaturesVisual Codebase PreviewSelect exactly which parts of your project to includeDrag & drop supportAuto-detect common code foldersInteligent filteringDifferente exporting formatFew Click formatExample Use CasesDebug complex systems with AI assistanceUnderstand unfamiliar codebases quicklyRefactor large Unity projectsGenerate documentation or explanationsAnalyze architecture and dependenciesTECHNICAL DESCRIPTION (FOR ASSET STORE)OverviewDagger’s AICodebaseExporter is a Unity Editor tool that scans selected project folders, filters relevant files, and exports them into structured, AI-friendly formats.Core SystemsEditor Window:Tools → DaggerTools → AI Codebase ExporterLocated at:Tab-based UI:Folder SelectionPreviewFiltersExclusionsOutputFile Scanning SystemRecursively scans selected foldersMaintains relative project pathsSupports multiple file typesExcludes:Library/Packages/Temp/.meta filesPreview SystemBuilds a hierarchical folder tree from scanned filesDisplays only folders containing valid filesSupports:Inclusion togglesExpand/collapseExternal folder detectionFiltering applied before exportFiltering SystemExtension-based filteringCustom exclude patterns (string-based path matching)Optional external/vendor exclusionExport SystemSupports:Markdown (.md)Plain text (.txt)JSON (.json)Features:Structured file groupingClear file headersPreserved formattingUTF-8 safe readingSummary metadataFile OutputConfigurable export directoryOverwrite protectionAutomatic file reveal in OS explorerArchitectureModular system design:AIExporterWindow → UI and workflowFileScanner → file discoveryPreviewTreeBuilder → folder structureFolderInclusionUtility → filtering logicExportBuilder → output formattingExportModels → shared data structuresCompatibilityUnity 2021.3+ recommendedEditor-only tool (no runtime impact)Compatible with all render pipelinesNotesNo external dependenciesNo runtime overheadSafe to use in production projectsI have used AI in the development of the tool, for debuging and some coding assistance. Also in the documentation of the tool.(And for obious reasons, also for the testing to see if the AI is responsive to the outputs of the tool)



