cli-forge-tree

A tool for viewing, planning, checking, or creating a project's folder and file layout. A project tree is a readable outline of those files and folders.

In plain words
What is it for?
Use it to inspect a directory structure, scaffold a new project, reorganize files, or apply naming conventions.
Why use it?
It helps make unfamiliar projects easier to navigate and exposes layouts that are too deep, inconsistent, or unclear.

Skill for Claude CodeCodex

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/destynova2/cli-code-skills/cli-forge-tree
Any agent
npx skills add Destynova2/cli-code-skills --skill cli-forge-tree
Clone the repo
git clone --depth 1 https://github.com/Destynova2/cli-code-skills

Made for: Claude Code, Codex.

Per session 142 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,702 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00142 $0.01702
Opus 5 $0.00071 $0.00851
Sonnet 5 $0.00028 $0.00340
Haiku 4.5 $0.00014 $0.00170

Measured 2d ago against content hash 544bb57226fa, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

cli-forge-tree scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

cli-forge-tree/SKILL.md · 150 lines

How it starts

The opening of the file, as written. The whole thing — 150 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Optimization: This skill uses on-demand loading. Heavy content lives in references/ and is loaded only when needed.

Language rule: Skill instructions are written in English. When generating user-facing output, detect the project's primary language (from README, comments, docs, commit messages) and produce the output in that language. If the project is bilingual, ask the user which language to use before proceeding.

Project Tree — Structure & Scaffold

Visualize, audit, or scaffold project directory structures with human-readable naming that any skill level can navigate.

Core Principles

  • Read ../gotchas.md before producing output to avoid known pitfalls.

Core Conventions (Summary)

Read references/conventions.md for detailed naming rules, depth guidelines, and cross-cutting folders.

Rule Example
lowercase-kebab-case for folders & files api-gateway/, user-service.ts
UPPER_CASE only for root meta-files README.md, LICENSE
dot-prefix for config/hidden files .env, .gitignore
Max 3 levels before needing justification src/api/handlers/ ok, deeper = rethink
Descriptive, short, no redundancy docs/ not documentation-files/
Plural for collections tests/, scripts/

Exceptions: Follow ecosystem conventions when universal (Cargo.toml, package.json, __init__.py, lib.rs).

Workflow

Step 1 — Detect or Ask

If a project exists — read the root directory and detect archetype:

Signal Archetype
Cargo.toml rust
go.mod go
package.json js/ts
pyproject.toml / setup.py python
*.tf terraform
Chart.yaml / helmfile.yaml helm
kustomization.yaml kustomize (check for flux-system/flux)
Containerfile / Dockerfile oci-container
*.container / *.kube podman-quadlet
site.yml / playbooks/ / roles/ ansible
docker-compose*.yml docker-compose
*.sh + no other code shell-scripts
flake.nix nix
Multiple of the above monorepo

Read the full file on GitHub · 150 lines

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2d ago First seen · 150 lines · 142 tokens per session scan A 544bb57226fa

Subscribe to this mod's changes

cli-forge-tree is a skill published in the GitHub repository Destynova2/cli-code-skills (5 stars, last pushed 10d ago), licensed MIT. It adds 142 tokens to every session and 1,702 once invoked, about $0.0007 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.