कंटेंट पर जाएँ
TakoAPI
स्किल्स पर वापस

lite-sqlite

omprasad122007-rgb द्वारा

Coding Agents & IDEs
429clawskills.sh द्वारा बताए गए डाउनलोड
0व्यूज़
0 लाइकइस स्किल को लाइक करने के लिए साइन इन करें
—अभी तक कोई रेटिंग नहीं
आपकी रेटिंग

संक्षिप्त

Fast lightweight local SQLite database for OpenClaw agents with minimal RAM and storage usage.

विवरण

यह स्किल क्या करती है

Lite SQLite provides a local SQLite database layer for OpenClaw agents with low memory overhead (2-5MB typical). Supports in-memory and file-based modes, WAL mode, connection pooling, TTL-based caching, and automatic schema migration.

SQLite requires no server or configuration, making it faster to deploy for agent-local storage than alternatives like PostgreSQL or Redis.

इसे कब इस्तेमाल करें

  • Storing agent session logs between runs
  • Caching API responses with expiry times
  • Persisting agent memos and key-value state
  • Logging structured metadata from multi-step agent tasks
  • Migrating flat JSON or CSV files into queryable storage

उदाहरण वर्कफ़्लो

इनपुट

User asks: store and retrieve memos for an agent across sessions

एजेंट
  1. 1

    Create a file-based SQLiteDB instance with WAL mode enabled

  2. 2

    Create the agent_memos table with agent_id, key, value, and expires_at columns

  3. 3

    Index agent_id and key columns for fast lookups

  4. 4

    Insert a memo with a TTL using batch_insert or insert

  5. 5

    Query memos by agent_id and key, filtering out expired rows

आउटपुट

Memo records persisted to agent_data.db, retrievable by agent ID and key with automatic expiry handling

इंस्टॉलेशन

clawhub install omprasad122007-rgb/lite-sqlite

CLI कमांड चलाएँ, या प्रॉम्प्ट को Claude Code, Cursor, Codex या जो भी कोडिंग एजेंट आप इस्तेमाल करते हैं उसमें पेस्ट करें।

लिंक