Skip to content
Skill

Agent debug memory

Has the agent check Noosphere shared debugging memory before fixing bugs and upload

Agent debug memory is an open-source agent skill for knowledge and memory. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

Scripts
None
Platforms
Claude Code, Codex, Cursor
GitHub stars
18
Last commit
License
Apache-2.0
Listing updated

Similar skills

About Agent debug memory

This skill tells a coding agent to treat Noosphere, a shared memory layer, as a first stop when a failure shows up. Before changing code, the agent builds a focused query from the exact error text, stack frame, failing command or test, and the relevant framework, runtime or environment, then calls the Noosphere MCP tool consult_noosphere, optionally with topic tags. Any returned fragments are treated as leads to check against the local codebase, official documentation and runnable reproduction steps rather than as established answers.

The workflow also covers the fix itself and what happens afterward. The agent is asked to prefer the smallest complete fix for the verified root cause and to avoid copying a fragment when the local versions or data flow differ. Once a fix is verified and the user explicitly approves the external write, the agent can upload a concise memory via upload_consciousness, typed as a warning, pattern or decision, that records the symptom, root cause, fix, verification evidence and environment details. Secrets and private data are to be kept out of tool calls and uploads.

Using the memory requires the Noosphere MCP server to be configured in the agent's environment. Reading the public registry works anonymously, but uploading requires a GitHub token in that MCP environment. The skill also expects the agent to run local verification before declaring a fix complete, or to state clearly what could not be run.

When your agent uses it

Use when debugging code, tests, builds, deployments, CI failures, runtime errors, framework issues, API migrations, or UI state bugs where a coding Agent should consult Noosphere shared memory before fixing and upload the verified lesson afterward.

From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.

What it can access

From a static check of its 1 file (2 KB) on GitHub on 3 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.

Check another skill before you install it.

Install

Copy the skill folder to ~/.claude/skills/agent-debug-memory to use it in all your projects:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/JinNing6/Noosphere.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/agent-debug-memory &&
cp -R "$tmp/shared_skills/active/agent-debug-memory" ~/.claude/skills/agent-debug-memory &&
rm -rf "$tmp"

For one project only, put the folder in .claude/skills/agent-debug-memory inside it instead.

Claude Code docs on skills

Copy the skill folder to ~/.agents/skills/agent-debug-memory to use it in every repository:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/JinNing6/Noosphere.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/agent-debug-memory &&
cp -R "$tmp/shared_skills/active/agent-debug-memory" ~/.agents/skills/agent-debug-memory &&
rm -rf "$tmp"

For one repository only, put the folder in .agents/skills/agent-debug-memory inside it instead.

Codex docs on skills

Copy the skill folder to ~/.cursor/skills/agent-debug-memory to use it in every project:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/JinNing6/Noosphere.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/agent-debug-memory &&
cp -R "$tmp/shared_skills/active/agent-debug-memory" ~/.cursor/skills/agent-debug-memory &&
rm -rf "$tmp"

For one project only, put the folder in .cursor/skills/agent-debug-memory inside it instead.

Cursor docs on skills

Run in a terminal (add --scope workspace to install it for the current workspace only):

gemini skills install https://github.com/JinNing6/Noosphere.git --path shared_skills/active/agent-debug-memory

Or copy the folder to ~/.gemini/skills/agent-debug-memory yourself.

Gemini CLI docs on skills

For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/agent-debug-memory:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/JinNing6/Noosphere.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/agent-debug-memory &&
cp -R "$tmp/shared_skills/active/agent-debug-memory" ~/.copilot/skills/agent-debug-memory &&
rm -rf "$tmp"

For one project only, put the folder in .github/skills/agent-debug-memory inside it instead.

VS Code docs on skills

Get the folder:

git clone --depth 1 https://github.com/JinNing6/Noosphere.git

Then copy Noosphere/shared_skills/active/agent-debug-memory into your agent's skills folder as agent-debug-memory. Agents that support SKILL.md read one folder per skill.

The SKILL.md format

What it does

Shared memory lookup
Queries Noosphere for prior fragments about a failure before the agent edits any code.
Query construction guidance
Explains which details to extract from an error, such as stack frames, commands, and environment versions.
Verification before reuse
Requires checking any retrieved lead against the local codebase, docs, and reproduction steps.
Verified lesson upload
Describes uploading a distilled warning, pattern, or decision memory after an approved, verified fix.
Secret handling rules
Keeps credentials, tokens, customer data, and private code out of tool calls and uploaded memories.

Good for

  • Find out whether a known fix exists for a failing CI build
  • Debug a React or Vite runtime error using past shared memory
  • Check a framework API migration issue before patching it
  • Record a verified fix for a flaky test as a reusable memory
  • Investigate a deployment failure with environment details captured

Agent debug memory FAQ

What does the skill need to work?

The Noosphere MCP server must be configured in the agent's environment. Reading the public registry works anonymously, but uploading requires a GitHub token in that MCP environment.

Does Agent debug memory upload memories automatically?

No. Uploads happen only after the fix is verified, the lesson is reusable, and the user explicitly approves the external GitHub write.

Which tool does the agent call to look up past fixes?

It calls the consult_noosphere MCP tool with a query built from the failure, optionally with focused topic_tags.

What kinds of memories can be uploaded?

Warnings for pitfalls and version traps, patterns for reusable fixes and workflows, and decisions for tradeoff-heavy engineering choices, sent with upload_consciousness.

How do I install Agent debug memory in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/agent-debug-memory to use it in all your projects, or to .claude/skills/agent-debug-memory in one project.

Does Agent debug memory run scripts?

No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

Which AI agents can use Agent debug memory?

Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.

What are the best alternatives to Agent debug memory?

The closest alternatives to Agent debug memory are Upload debug memory, Using noosphere, Codebase memory MCP, Memory timing debugging and Agent architecture audit.

Where this comes from

  • Description: from the skill's own SKILL.md.

More from JinNing6/Noosphere

  1. Checks a shared Noosphere skill registry before debugging a concrete software failure

    • Open source
    • 18 GitHub stars
    • Developer tools
  2. Diagnoses browser clicks, hover and focus that fail though elements look visible

    • Open source
    • 18 GitHub stars
    • Browser automation
  3. Diagnoses why a Cloudflare Pages site still serves old assets after a deploy

    • Open source
    • 18 GitHub stars
    • Cloud and infrastructure
  4. Guides agents to trace async frontend bugs across event, state, data, lifecycle and render

    • Open source
    • 18 GitHub stars
    • Developer tools