Skip to content
Back to skills

Auto

ASecurity

Automatic, structured persistence of agent outputs to SQLite database. Use when tracking agent outputs across CFN Loop workflows, persisting confidence scores, or querying agent execution history.

  • 14 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added February 7, 2026
databasesbashsqltestingdatabasebackendsecurityperformance

Security analysis

A100/100

Pro scans all 4 files and shows the line behind each finding

Scanned February 12, 2026

npx -y skills add masharratt/claude-flow-novice --skill auto --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Auto?

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

Security grade badge for Auto
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/masharratt-auto/badge)](https://www.skillsdirectory.com/skills/masharratt-auto)

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: cfn-automatic-memory-persistence
description: "Automatic, structured persistence of agent outputs to SQLite database. Use when tracking agent outputs across CFN Loop workflows, persisting confidence scores, or querying agent execution history."
version: 1.0.0
tags: [memory, persistence, sqlite, auto, agent-tracking]
---

# Automatic Memory Persistence Skill

## Overview
This skill provides automatic, structured persistence of agent outputs to a SQLite database, ensuring consistent memory tracking across CFN Loop workflows.

## Key Components
- `persist-agent-output.sh`: Primary script for saving agent outputs
- `query-agent-history.sh`: Query and retrieve past agent outputs
- `test-memory-persistence.sh`: Validation test suite

## Memory Schema
```json
{
  "agent/[agent-id]/output/[task-id]": {
    "output": "Raw agent output text",
    "confidence": 0.85,
    "iteration": 1,
    "timestamp": "2025-10-20T15:30:00Z",
    "parsed_data": null
  }
}
```

## Integration Points
- Loop 3 output processing
- Loop 2 output processing
- Product Owner decision parsing

## Usage Examples

### Persist Agent Output
```bash
./persist-agent-output.sh \
  "task_authentication_v1" \  # Task ID
  "backend-dev" \             # Agent ID
  "Implemented JWT auth" \    # Output
  0.85 \                      # Confidence
  1                           # Iteration
```

### Query Agent History
```bash
# Get last 5 outputs for a specific agent
./query-agent-history.sh "backend-dev" "" 5

# Get outputs for a specific task
./query-agent-history.sh "backend-dev" "task_authentication_v1"
```

## Security & Performance
- ACL Level 1 (Read-only access)
- Indexed by tags for fast retrieval
- Minimal performance overhead
- Escaped and normalized inputs

## Testing
Run comprehensive tests:
```bash
./test-memory-persistence.sh
```

## Sprint 7 Insights
- **Confidence**: 0.95
- **Priority**: 9
- Provides robust, zero-configuration memory tracking
- Eliminates manual output saving
- Supports multi-iteration workflows

## Best Practices
- Always use script for output persistence
- Do not modify SQLite database directly
- Use query script for retrieval
- Add structured parsing for complex outputs

Files in this skill

  • SKILL.md2.2 KB
  • persist-agent-output.sh1.3 KB
  • query-agent-history.sh779 B
  • test-memory-persistence.sh7.6 KB

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…