Skip to content
TakoAPI
Back to skills

agent-autonomy-primitives

by g9pedro

DevOps & Cloud
758Downloads reported by clawskills.sh
1Views
0 likesSign in to like this skill
—Not yet rated
Your rating

Brief

Build long-running autonomous agent loops using ClawVault primitives (tasks, projects, memory types, templates.

Description

What This Skill Does

Five composable primitives (typed memory, task files, project grouping, template schemas, heartbeat loops) for building self-directing agent workflows. Agents read their own task queue, execute work, record lessons, and loop without human prompting. Works with ClawVault as the storage layer.

Using typed memory directories and YAML-frontmatter task files keeps agent state queryable and human-readable without a separate database or sync layer.

When to Use It

  • Setting up a 30-minute cron loop that picks and runs the highest-priority task
  • Tracking agent-discovered work as structured task files with priority and due dates
  • Grouping tasks by client project so an agent stays scoped to one workstream
  • Recording lessons during execution so the same mistake isn't repeated next run
  • Building a shared vault where multiple agents coordinate without direct messaging

Example Workflow

INPUT

User asks: wire up my agent to work through its task backlog every 30 minutes

AGENT
  1. 1

    Run clawvault init and create a project with clawvault project add

  2. 2

    Add tasks with owner, priority, and project fields via clawvault task add

  3. 3

    Add heartbeat instructions to HEARTBEAT.md: list open tasks, sort by priority and due date, pick top task

  4. 4

    Agent executes the task, then calls clawvault task done <slug> --reason

  5. 5

    If a lesson is learned during execution, agent calls clawvault remember lesson

OUTPUT

Agent runs on schedule, drains its task queue in priority order, and builds a growing memory of decisions and lessons across cycles

Requirements

  • clawvault CLI (`npm install -g clawvault`)

Installation

clawhub install g9pedro/agent-autonomy-primitives

Run the CLI command, or paste the prompt into Claude Code, Cursor, Codex or whichever coding agent you use.

Links