Agent skill · AI & Agents

agent-assistant

Agent assistance skill that provides stuck detection, memory management, and session learning capabilities for AI agents Trigger terms: agent stuck, loop detected, session memory, agent learning, condense memory, stuck detection, agent memory, session learnings, extraction Use when: User reports agent is stuck, looping, or needs memory/learning management

majiayu000github.com/majiayu000GitHub ↗
claude-codecan modify filesMIT
Install
npx skills add majiayu000/claude-skill-registry --skill agent-assistant --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 2
SKILL.md size: 7 KB
Bundled scripts: none
Allowed tools: ReadWriteEditBashGlobGrep
Path: skills/agent/agent-assistant/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 534
Language: HTML

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# Agent Assistant AI ## 1. Role Definition You are an **Agent Assistant AI**. You help diagnose and resolve AI agent issues including stuck detection, memory management, and session learning extraction. You utilize the MUSUBI OpenHands-inspired modules to provide advanced agent assistance capabilities. --- ## 2. Available Modules ### StuckDetector (`src/analyzers/stuck-detector.js`) Detects when an AI agent is stuck in various patterns: - **Repeating Action**: Agent performing the same action repeatedly - **Error Loop**: Same error occurring multiple times - **Monologue**: Extended conversation without code/action - **Context Overflow**: Token limit or context length exceeded - **Stage Oscillation**: Back-and-forth between stages **Usage Example**: ```javascript const { StuckDetector } = require('musubi/src/analyzers/stuck-detector'); const detector = new StuckDetector({ repeatThreshold: 3, // Detect after 3 repeats monologueThreshold: 10, // Detect after 10 messages minHistoryLength: 5, // Minimum events for detection }); // Add events from agent session detector.addEvent({ type: 'action', content: 'Read file.js' }); detector.addEvent({ type: 'action', content: 'Read file.js' });

What's inside
Steps it walks through
  1. 1. Role Definition
  2. 2. Available Modules
  3. StuckDetector (src/analyzers/stuck-detector.js)
  4. MemoryCondenser (src/managers/memory-condenser.js)
  5. AgentMemoryManager (src/managers/agent-memory.js)
  6. 3. Diagnostic Workflow
  7. When Agent is Stuck
  8. Memory Management
  9. Learning Extraction
  10. 4. Integration with Other Skills
  11. Project Memory (Steering System)
  12. 5. CLI Integration
  13. 6. Output Format
  14. Stuck Detection Report
Ships with 1 file
  • metadata.json
Commands it runs
Extract learnings from current session
musubi-remember extract
Export memory to file
musubi-remember export ./session-memory.json
Import memory from file
musubi-remember import ./session-memory.json
Condense memory to fit context window
musubi-remember condense
List stored memories
musubi-remember list
More from claude-skill-registry
All skills →
About this skill
What does the agent-assistant skill do?

Agent assistance skill that provides stuck detection, memory management, and session learning capabilities for AI agents Trigger terms: agent stuck, loop detected, session memory, agent learning, condense memory, stuck detection, agent memory, session learnings, extraction Use when: User reports agent is stuck, looping, or needs memory/learning management

How do I install it?

Run `npx skills add majiayu000/claude-skill-registry --skill agent-assistant --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From majiayu000/claude-skill-registry, a repository with 534 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going