Xpersona
C

Claude Code Memory Kit

CLAWHUB · Unverified

Stop Claude Code from repeating mistakes — enforce guardrails, preserve context, maintain consistency across sessions Skill: Claude Code Memory Kit Owner: abhinas90 Summary: Stop Claude Code from repeating mistakes — enforce guardrails, preserve context, maintain consistency across sessions Tags: latest:1.0.1 Version history: v1.0.1 | 2026-05-31T18:10:24.849Z | user Release 1.0.1: Claude Code Memory Kit v1.0.0 | 2026-04-06T15:01:24.546Z | user Initial release Archive index: Archive v1.0.1: 10 files, 10507 bytes Files: INSTALL.md (28

62
Rank
84
Safety
1.1k
Downloads

About

What it does, and when to use it.

Capability contract not published. No trust telemetry is available yet. 1.1K downloads reported by the source. Last updated 10/11/2026.

Avoid when

  • Contract metadata is missing or unavailable for deterministic execution.

Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing

Install and run

Setup complexity: low.

clawhub skill install s174azs5nksq9sp64tzargsaph84203h:claude-code-memory-kit
  1. Setup complexity is LOW. This package is likely designed for quick installation with minimal external side-effects.
  2. Final validation: Expose the agent to a mock request payload inside a sandbox and trace the network egress before allowing access to real customer data.

Contract: missing

curl -s "https://www.xpersona.co/api/v1/agents/clawhub-abhinas90-claude-code-memory-kit/snapshot"

Run-check

$0.02 USD

1 measured facts are behind this paywall: success rate and latency, uptime and estimated cost, when not to use it, how to call it, benchmark scores.

Agents pay $0.02 in USDC. A card payment is $0.50, the smallest a card allows.

Documentation

CLAWHUB

37,156 characters of source documentation, loaded on request.

Extracted files

5 files captured from the source.

SKILL.md

---
name: Claude Code Memory Kit
slug: claude-code-memory-kit
version: 1.0.0
description: Stop Claude Code from repeating mistakes — enforce guardrails, preserve context, maintain consistency across sessions
---

# Claude Code Memory Kit — Stop Repeating Mistakes

## Tagline
Go from "correcting the same error 10 times" to "zero-repeat mistakes" in one afternoon.

## Problem
Claude Code users hit the same wall every day:
- **Mistakes repeat** across sessions (force pushes, untested edits, style violations)
- **CLAUDE.md isn't enough** — preferences ≠ enforcement
- **Memory leaks** — context gets lost between sessions
- **No guardrails** for high-risk actions
- **Corrections don't stick** — you're teaching the same lesson daily

## Solution
A structured memory system that **enforces rules, preserves context, and prevents repeat mistakes**.

## What's Inside
## What's Actually Included

This is a **pattern guide** — not a ready-to-run server software package. You get:

1. **Architectural patterns** for session memory persistence
2. **Python code snippets** showing implementation approach  
3. **Integration patterns** with Claude Code CLI lifecycle
4. **Testing strategies** for memory reliability

You'll need to adapt these patterns to your specific environment. The value is in the proven approach, not pre-packaged executables.

### 1. Memory Architecture Template
- **CLAUDE.md** — project rules & preferences (template)
- **memory.md** — learned patterns & recurring decisions (template)  
- **mistakes.md** — mistakes to avoid (auto-promoted from corrections) (template)
- **bootstrap.md** — session initialization context (template)

### 2. Pre-Tool Gates
- Block force-push to main
- Require tests before edits in specific repos
- Confirm destructive commands
- Validate code style before commit

### 3. Cross-Session Persistence
- Structured context bootstrapping (no chat history dumping)
- Mistake → rule automation (3 corrections = new policy)
- Project-specific memory that actually sticks

### 4. Real-World Templates
- JavaScript/TypeScript project setup
- Python data science workflow
- Multi-repo coordination
- Team coding standards enforcement

### 5. Installation & Troubleshooting
- **INSTALL.md** — Step-by-step setup guide
- **TROUBLESHOOTING.md** — Common issues and solutions
- Pre-tool gate configurations
- Team deployment guide

## Who This Is For
- **Developers using Claude Code full-time** (6+ months experience)
- **Teams needing consistent code style** across members
- **Anyone tired of repeating the same corrections**
- **Projects with safety/security requirements**

## What You'll Achieve
- **Zero-repeat mistakes** within 48 hours
- **80% reduction** in manual corrections
- **Consistent code quality** across sessions
- **Auditable decision trails** for team reviews

## Price & Value
- **Launch price**: $99 (regular $149)
- **Comparable value**: Saves 10+ hours/month of correction time
- **ROI**: 1-2 days for full investment recovery

## Qui

_meta.json

{
  "ownerId": "kn71hf14zhnh60jg0jb31zthnh8421nq",
  "slug": "claude-code-memory-kit",
  "version": "1.0.1",
  "publishedAt": 1780251024849
}

INSTALL.md

# Installation Guide — Claude Code Memory Kit

## Quick Start (5 minutes)

### Step 1: Copy Template Files
```bash
# Copy the templates folder to your project
cp -r templates/* your-project-directory/
```

### Step 2: Configure Your Project
Edit each file with your specific requirements:

**CLAUDE.md** — Your project rules:
- Coding standards (naming, formatting)
- Allowed/disallowed patterns
- Testing requirements
- Any project-specific instructions

**memory.md** — Cross-session patterns:
- Common decisions and their rationale
- Reusable solutions to recurring problems
- Architecture decisions to remember

**mistakes.md** — What to avoid:
- Past errors and their fixes
- Anti-patterns specific to your project
- Things that didn't work

**bootstrap.md** — Session initialization:
- Current project status
- Active tasks and priorities
- Recent changes to catch up on

### Step 3: Test Your Setup
```bash
# Start a new Claude Code session
claude

# Verify it reads your files
/remember show all
```

### Step 4: Set Up Guardrails (Optional)
Add to `~/.claude/settings.json`:
```json
{
  "preToolGates": {
    "Bash(git push --force)": "confirm",
    "Bash(rm -rf)": "confirm"
  }
}
```

---

## Advanced Setup

### For Teams

1. **Commit templates to repo:**
```bash
git add CLAUDE.md memory.md mistakes.md bootstrap.md
git commit -m "Add Claude Code memory system"
```

2. **Create team-wide standards** in a shared CLAUDE.md at organization level

3. **Onboard new members:**
```bash
# New team member clones repo
git clone your-project
cd your-project
claude  # Already configured with team standards
```

### For Multiple Projects

Create a `~/.claude/projects/` directory with reusable templates:

```bash
~/.claude/projects/
├── javascript/CLAUDE.md
├── python/CLAUDE.md
├── fullstack/CLAUDE.md
```

Then copy appropriate template per project.

### For Enterprise

1. Create organization-level CLAUDE.md
2. Use LDAP/SSO for authentication
3. Audit trail via version control history
4. Regular review cycles (bi-weekly)

---

## File Placement Reference

```
your-project/
├── CLAUDE.md          # Required - project rules
├── memory.md          # Recommended - learned patterns
├── mistakes.md        # Recommended - anti-patterns
├── bootstrap.md       # Optional - session init
└── .claude/
    └── settings.json  # Optional - guardrails
```

---

## Verification Checklist

After installation, verify:

- [ ] CLAUDE.md exists in project root
- [ ] Claude Code reads the file on startup
- [ ] Rules are being followed in conversation
- [ ] Memory persists between sessions
- [ ] Mistakes are logged and avoided

---

## Troubleshooting

If something doesn't work, see TROUBLESHOOTING.md for common issues and solutions.

skill-card.md

## Description:

Stop Claude Code from repeating mistakes — enforce guardrails, preserve context, maintain consistency across sessions.

This skill is ready for commercial/non-commercial use.

## Publisher:

[abhinas90](https://clawhub.ai/user/abhinas90)

### License/Terms of Use:

MIT-0

## Use Case:

Developers and teams using Claude Code use this skill as a pattern guide for project memory files, mistake tracking, session bootstrapping, and guardrail configuration. It helps preserve context across sessions and reduce repeated corrections.

### Deployment Geography for Use:

Global

## Known Risks and Mitigations:

Risk: Persistent memory files can change future Claude Code behavior or embed stale project policy.

Mitigation: Keep memory files project-scoped, review team-wide files before use, and document how to remove or override rules.

Risk: Generic npm and npx troubleshooting examples may be unsafe if copied without review.

Mitigation: Replace examples with trusted, pinned packages and avoid privileged global installs unless the package and permissions are understood.

Risk: Memory templates may accidentally capture secrets or sensitive project context.

Mitigation: Exclude credentials and sensitive data from CLAUDE.md, memory.md, mistakes.md, and bootstrap.md; review files before committing.

## Reference(s):

- [ClawHub Skill Page](https://clawhub.ai/abhinas90/skills/claude-code-memory-kit)
- [Installation Guide](INSTALL.md)
- [Troubleshooting Guide](TROUBLESHOOTING.md)

## Skill Output:

**Output Type(s):** [markdown, shell commands, configuration, guidance]

**Output Format:** [Markdown templates with inline shell and JSON snippets]

**Output Parameters:** [1D]

**Other Properties Related to Output:** [Provides editable templates and setup guidance; does not provide ready-to-run server software.]

## Skill Version(s):

1.0.1 (source: server release metadata and skill.json)

## Ethical Considerations:

Users should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment.

templates/bootstrap.md

# Session Bootstrap Context

## Current Project State
- **Last commit**: [hash] - [brief description]
- **Active branch**: [branch name]
- **Pending tasks**: [list of TODOs from previous session]
- **Known issues**: [bugs, performance problems, tech debt]

## Session Goals
1. [Primary objective for this session]
2. [Secondary tasks if time permits]
3. [Blockers to resolve]

## Context To Load
### Files to Review
- `[path/to/file]` - [why it's relevant]
- `[path/to/file]` - [changes needed]

### Decisions Pending
- [Architectural choice needing validation]
- [Library selection]
- [API design question]

### Memory Anchors
- **From memory.md**: [key learned patterns applicable]
- **From mistakes.md**: [errors to avoid]
- **From CLAUDE.md**: [project-specific rules]

## Environment Notes
- **Node version**: [e.g., 18.0.0]
- **Package manager**: [npm/yarn/pnpm]
- **Database**: [connection details if needed]
- **API endpoints**: [base URLs]

## Success Criteria
- [ ] [Measurable outcome 1]
- [ ] [Measurable outcome 2]
- [ ] [No regressions in existing functionality]

---
*This bootstrap file ensures Claude Code starts each session with full context, reducing time spent rediscovering project state.*

Sponsored

Ads related to Claude Code Memory Kit and adjacent AI workflows.