4d-project-info
Installation
SKILL.md
4D Project Info
Analyze a 4D project and produce a JSON summary of its structure.
Usage
python3 scripts/project_info.py [path] [--format json|human|terse] [--compact]
path: Any path inside a 4D project, the project root itself, theProject/directory, or a direct path to the.4DProjectfile. Defaults to current directory.--format:jsonfor structured output,humanfor a readable text summary,tersefor a token-light text summary. Aliases:text,token,tokens,toon.--compact: Forjsonoutput, return only names and counts instead of full per-file details.
If no project root can be resolved, the script still exits with an error, but it also returns a list of nearby .4DProject files to use explicitly on the next run.