Skip to main content
Glama
cachly-dev

Cachly — AI Cognitive Brain

autopilot

Generates a configuration file that instructs AI editors to automatically call memory hooks on open, fix, and close, ensuring persistent context across sessions.

Instructions

Generate a CLAUDE.md / copilot-instructions.md that makes any AI self-managing forever. Writes a configuration file to disk — will overwrite an existing file at the target path. No auth required beyond a valid instance_id. The generated file instructs Claude, Cursor, Copilot, Windsurf, or Gemini to automatically call session_start at window open, learn_from_attempts after every fix, and session_end before closing — without being asked. Returns the generated file content as a string and the path where it was written. Use style="minimal" for just the three hooks; style="full" for the complete ruleset with examples. One command. Every AI. Always on. Use setup_ai_memory instead if you want an interactive one-shot setup that also creates an instance.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
instance_idYesUUID of the cache instance
editorNoTarget editor (default: claude)
project_nameNoYour project name (used in generated instructions)
styleNominimal = just the hooks, full = full ruleset with examples (default: full)
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations provided, so description carries full burden. It discloses key behaviors: writes to disk, overwrites existing files, returns file content and path, no auth beyond instance_id. Describes the generated file's lifecycle hooks. Lacks details on error conditions or validation, but still strong.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loaded with purpose, then behavioral details, returns, and style guidance. Some marketing language ('One command. Every AI. Always on.'), but overall every sentence adds meaningful information. Efficient for the amount of content.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With 4 parameters, no output schema, and no annotations, the description adequately covers purpose, behavior, return values, and usage. It explains the generated file's effects. Minor gaps like error handling or invalid instance_id, but for this tool's scope, it's sufficiently complete.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so baseline is 3. Description adds value by explaining instance_id (UUID of cache instance), enumerating all editor options with context, clarifying project_name usage, and defining style enum with defaults and purpose. This goes beyond the schema's descriptions.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

Clearly states the tool generates a CLAUDE.md / copilot-instructions.md file for AI self-management. Uses specific verbs ('Generate', 'Writes') and resource. Distinguishes from sibling tool 'setup_ai_memory' by explicitly naming it as an alternative for interactive setup.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Provides explicit when-to-use ('makes any AI self-managing forever') and an alternative ('Use setup_ai_memory instead if you want an interactive one-shot setup'). Also explains style options (minimal vs full) giving clear selection criteria.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/cachly-dev/cachly-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server