Reads and writes this project's Tent graph: the results the user wants, the inputs given to the work on them and what that work has produced. Use when the user says what they want or settles a decision, when work adds a lasting part of the project or makes a Node untrue, when handed a Node id, before a choice the user may already have limited, or when the user asks to see the graph.
Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Graph?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/cucarol-graph)
---
name: graph
description: "Reads and writes this project's Tent graph: the results the user wants, the inputs given to the work on them and what that work has produced. Use when the user says what they want or settles a decision, when work adds a lasting part of the project or makes a Node untrue, when handed a Node id, before a choice the user may already have limited, or when the user asks to see the graph."
---
# Tent graph
Tent shows the user their project as a graph of Markdown Nodes in `.tent/`, so everything in it is written for the user to read. Each Node is one of three types:
| type | Is | Goes under | Opens with |
| --- | --- | --- | --- |
| `goal` | A result the user wants the project to reach and keep. The top goal is why the project exists | The goal it serves | The result, as a sentence that will be true of the project: `Users sign in without keeping a password` |
| `prompt` | Something given to the work: an instruction, a decision, a plan, a reference or material | The lowest goal it applies to | The thing itself; for a decision, who made it and when |
| `output` | What the work has made, as it is now: a part of the project, a result, a finding or a known problem | The goal it is for | What it is now and what relies on it |
A Node holds one thing the user would look up by itself, named in a few words they would say. When a file already holds the facts, the Node points to it.
`~/.tent/graph.md`, when it exists, holds the user's own preferences for the graph; they win over this Skill. When the user says how the graph should look, add it there.
Run `tent` as [access](../../skill-resources/references/access.md) shows.
## Reading
| You have | Do |
| --- | --- |
| Files whose purpose and prompts you need before a choice | `tent load <path>...` |
| A Node id, such as one named in a message | `tent load <node-id>` |
| The user asks to see the graph | `tent view` as a background command: it runs until stopped and prints the page's address |
| The user asks for the graph as a file to keep or send | `tent view --output <new-file>`: one HTML file that opens in a browser on its own |
| A word | Search with your own search tool, giving `.tent/` as the path |
`tent load` lists pointers: name, type, path and the opening of the body. Open what the work needs with your own tools.
## When to write
Keep the graph true to what the user wants now and what the work has produced. When the user says what they want or decides something, or the work makes something lasting or makes a Node untrue, change the graph in the same turn. Goals belong to the user. Change one only when what they want changes, and tell them when you do, or when the work drifts from one.
When Tent brings the user's comments on the graph, do what each asks and tell the user what you did.
When the turn leaves something the user should look at (a decision to make, a result to check), run `tent show <node-id>...` with just those Nodes; it puts your face on them on the user's page and replaces what you showed before. Skip it when nothing needs their eyes.
## A Node file
A Node is one Markdown file at `.tent/<Goal>/…/<Name>/<Name>.md`, inside the directory of the goal it is under.
```markdown
---
id: node-abc123
type: prompt
files:
- docs/login.md
---
Users sign in with email and a one-time code, agreed with the user on 2026-10-08 so that nobody keeps a password. See [Sign-in](node-k2m9qa).
```
| Field | Holds |
| --- | --- |
| `id` | Tent's id for the Node, fixed for its life |
| `type` | `goal`, `prompt` or `output` |
| `files` | The project's files the Node is about: each entry a file, a directory ending in `/`, a file-name prefix such as `src/views*`, or one Markdown section as `path.md#Heading`. |
A file the user gives for a Node, such as a PDF, goes in the Node's directory, and the body links to it by file name. Paths start at the Workspace root. Refer to another Node by its id, as `[Sign-in](node-k2m9qa)`.
## Changing the graph
| To | Do |
| --- | --- |
| Create | `tent node create <name> --type <type> --parent <node-id> [--file <path>]... --body -` |
| Edit | Edit the file |
| Rename | Rename the directory; rename the file inside it to match |
| Move | Move the directory into the directory of its new goal |
| Delete | Delete the directory |
| See earlier versions | `tent node history <node-id>`; add `--version <v>` to print one |
| Find problems | `tent check` |
Only a goal has Nodes under it. A new Node is always made with `tent node create`, which gives it its id.