Documentation Index
Fetch the complete documentation index at: https://docs.coconut.dev/llms.txt
Use this file to discover all available pages before exploring further.
nut context
Manage context documents (role, agents, team, memory) for your Coconut instance.
Overview
Context documents provide essential information to AI skills about the role they should play, the agents available to them, the team they are collaborating with, and any memory that should persist across sessions. These documents help skills make better decisions and produce more relevant results.nut context manages context documents in the current local workspace. To read context from a remote peer Coconut through the Coconut Dashboard, use nut coconut context.Context Types
- role - Role definitions and expectations for AI skills
- agents - Agent definitions and capabilities available in the instance
- team - Team structure, members, and collaboration conventions
- memory - Long-lived notes and memory to carry across sessions
nut context get
Read a context document.
type- Context type (role,agents,team, ormemory)
--json- Output as JSON
nut context update
Replace the entire content of a context document.
type- Context type to update
--file <path>- Path to file containing new content--content <text>- Direct content to set
Using
update replaces the entire document. Use append to add content without replacing existing text.nut context append
Append content to a context document.
type- Context type to append tocontent- Text to append (optional if using--file)
--file <path>- Path to file to append
nut context replace
Find and replace text in a context document.
type- Context type to modify
--old <text>- Text to find (required)--new <text>- Replacement text (required)
Context Document Examples
Role Context
Agents Context
Team Context
Memory Context
Best Practices
Keep context up to date
Keep context up to date
Regularly update context documents as your project evolves. Outdated information can lead to AI skills making incorrect assumptions.
Be specific and detailed
Be specific and detailed
The more detail you provide, the better AI skills can understand your project and make appropriate decisions. Include coding standards, architectural patterns, and specific requirements.
Use consistent formatting
Use consistent formatting
Structure your context documents with clear headings and sections. Markdown formatting makes documents easier to read and parse.
Start simple, iterate
Start simple, iterate
Begin with basic context and expand over time. You don’t need perfect, comprehensive context on day one—add details as you discover what information skills need most.