Use when writing or changing a model-facing tool definition (name, description, parameter schema, or its system-prompt section), and when designing skills, context loading, or multi-step agent workflows, to make information discoverable and use context efficiently.
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 Agent Experience?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/zehuichan-agent-experience)
---
name: agent-experience
description: Use when writing or changing a model-facing tool definition (name, description, parameter schema, or its system-prompt section), and when designing skills, context loading, or multi-step agent workflows, to make information discoverable and use context efficiently.
---
# Agent experience
Design what a model sees so it can find what it needs, act safely, and spend context on the task. This is guidance, not a checklist.
- **Start with minimal context:** expose purpose, available actions, and constraints first; load detailed instructions when needed.
- **Make discovery explicit:** every deferred resource needs a clear description and a reliable way to retrieve it.
- **Keep critical constraints visible:** permissions, destructive effects, and required validation appear before the relevant action.
- **Prefer bounded outputs:** return concise results with identifiers or paths for retrieving details; avoid dumping entire logs or documents.
- **Use locality:** include a bounded amount of likely needed adjacent context with an operation's result. For example, deliver a thread reply with a few preceding messages. Mark omissions and truncation explicitly, and provide a way to retrieve more.
- **Evaluate total work:** saving context is useful only if it does not cause more searches, repeated reads, or mistakes.
## Tool definitions
- **Delete obvious constraints.** Omit rules the model learns from the call result, such as a missing file failing to read or a failed send not being delivered.
- **Describe behavior, not implementation.** State what the tool does and returns; omit internal mechanisms, output markers the model sees in results, and enforcement details.
- **Put parameter rules on the parameter.** Defaults, ranges, pairing, and when-to-set rules belong in that parameter's description or schema; a description that varies with configuration usually means the varying part belongs to a parameter.
- **Describe a tool in its own description.** One tool's usage belongs in its description, next to its parameters, not in a system-prompt section. The description is added, removed, and filtered with the tool; a section stays in the prompt of a request whose tool set excludes the tool unless the section reads the tool set itself. A section keeps only guidance that relates two or more tools ("read a file before editing it") and habits that apply across calls of one tool ("check the exit-code marker on every result"). Tools from users or external servers carry less trusted descriptions, so a rule that involves them belongs in a section the project registers.
- **Say each fact once.** Do not repeat the tool definition in its system-prompt section, a parameter description in the tool description, or one tool's rules in another tool.
- **Measure the change.** Compare first-turn prompt tokens before and after a tool-definition change.
## Skills and agent instructions
- **The description is the trigger.** A skill's description states when to use it in the words a user or task would use; the body states how.
- **Keep the entry file short and link detail.** Put workflow and guardrails in the skill file; move calibration examples and long references into files loaded on demand, linked directly from the entry file.
- **State scope limits explicitly.** "Guidance, not a checklist" or "report findings without editing" changes how a model applies the workflow.
- **Point to the source of truth.** Instructions link the owning document instead of restating it, so they do not drift.