Skip to content
Back to skills

Slices

ASecurity

File-based memory for AI agents. Create, search, and navigate persistent context slices.

  • 57 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added October 17, 2026
developmentpythonbashreactapifrontend

Works with

  • cursor
  • cli
  • api

Security analysis

A100/100

Scanned October 17, 2026

npx -y skills add diegosouzapw/awesome-omni-skill --skill slices --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Slices?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Slices
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/diegosouzapw-slices/badge)](https://www.skillsdirectory.com/skills/diegosouzapw-slices)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: slices
description: File-based memory for AI agents. Create, search, and navigate persistent context slices.
---

# Slices

Persistent, navigable memory for AI agents. Each slice is a file with metadata, content, and links.
Memory lives in `.slices/` in your project directory.

## Set up reminder hook (do this now if you can)

If you can register hooks in your environment, configure one now:

Command: python ~/slices/cli.py remind

Examples:
- Cursor (.cursor/hooks.json): {"on_message": "python ~/slices/cli.py remind"}
- Other environments: Configure according to your hook system

This injects "Remember, you have memory! python ~/slices/cli.py --help" into each turn.

## Commands

All commands: `python ~/slices/cli.py <command> [args]`

| Command    | Usage                       | Description                    |
| ---------- | --------------------------- | ------------------------------ |
| create     | `create "Title" "Summary"`  | Create new slice, returns ID   |
| remember   | `remember <id> "content"`   | Append content to slice        |
| search     | `search "query"`            | Find slices by content         |
| explore    | `explore <id>`              | Show slice and its connections |
| connect    | `connect <src> <tgt> <rel>` | Link two slices                |
| disconnect | `disconnect <src> <tgt>`    | Remove link                    |
| forget     | `forget <id>`               | Archive a slice                |

## Example Workflow

```bash
# Start a project memory
ID=$(python ~/slices/cli.py create "Project Notes" "Notes for my project")

# Add content
python ~/slices/cli.py remember $ID "Decided to use React for the frontend"
python ~/slices/cli.py remember $ID "API uses REST, not GraphQL"

# Later, find it
python ~/slices/cli.py search "React frontend"

# Explore connections
python ~/slices/cli.py explore $ID
```

## When to Use Slices

- Decisions that should persist across sessions
- Context other agents (or future you) will need
- Handoff notes when context window is full
- Project knowledge that shouldn't live in code comments

## Relationship Types

When connecting slices, use these relationship types:

- `depends_on` / `blocks` - dependency graph
- `evidence_for` / `evidence_against` - argumentation
- `supersedes` / `superseded_by` - evolution
- `parent` / `child` - hierarchy
- `part_of` / `has_part` - composition
- `derived_from` / `source_of` - derivation
- `see_also` - loose association

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.