Skip to content
Back to skills

038 Agent C5ff808f

ASecurity

Agent memory can be cleared using a request that requires an admin JWT token for authentication. This functionality allows for granular control: - **Clear all agent memory**: Reset the entire memory state of the agent. - **Clear thread memory**: Clear memory specifically associated with a particular thread within the agent. > The `thread_id` parameter is used to specify the target thread for memory clearing. ```bash curl --location '{base_url}/agents/clean-memory' \ --header 'Content-Type: ap...

  • 9 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added October 11, 2026
securitybash

Security analysis

A100/100

Scanned October 11, 2026

npx -y skills add tools-only/X-Skills --skill 038-agent_c5ff808f --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of 038 Agent C5ff808f?

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

Security grade badge for 038 Agent C5ff808f
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/tools-only-038-agent-c5ff808f/badge)](https://www.skillsdirectory.com/skills/tools-only-038-agent-c5ff808f)

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

SKILL.md
# Agent's Memory Cleanup

Agent memory can be cleared using a request that requires an admin JWT token for authentication. This functionality allows for granular control:

- **Clear all agent memory**: Reset the entire memory state of the agent.
- **Clear thread memory**: Clear memory specifically associated with a particular thread within the agent.

> The `thread_id` parameter is used to specify the target thread for memory clearing.

```bash
curl --location '{base_url}/agents/clean-memory' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer {jwt_token}' \
--data '{
    "agent_id": "local",
    "thread_id": "chat1",
    "clean_agent_memory": true,
    "clean_skills_memory": true
}'
```

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.