rocket-store

Skill to use Rocket-Store for local file-based data persistence. Use when asked to store persistent data, memories, or JSON records locally without a full database server. Perfect for agents needing a simple local storage mechanism.

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "rocket-store" with this command: npx skills add klich3/rocket-store-lcoal-memories-python/klich3-rocket-store-lcoal-memories-python-rocket-store

Rocket-Store Skill

This skill allows you to use the Rocket-Store package to store and retrieve data locally as JSON files. It functions as a lightweight, searchable database using the filesystem.

Prerequisites

  • Python installed in the environment.
  • Rocket-Store package installed: pip install Rocket-Store

Usage Guide

Basic Initialization

from Rocketstore import Rocketstore
rs = Rocketstore()

Configuring Data Storage Area

By default, Rocket-Store uses a temporary system directory. You can specify a custom directory:

rs.options(data_storage_area="./my_local_db", data_format=Rocketstore._FORMAT_JSON)

Storing Data (Post)

# rs.post(collection, key, record, flags)
rs.post("users", "user_1", {"name": "Alice", "age": 30}, Rocketstore._FORMAT_JSON)

Retrieving Data (Get)

# Get a specific record
result = rs.get("users", "user_1")

# Get all records in a collection
all_users = rs.get("users")

# Wildcard search
search_results = rs.get("users", "user_*")

Deleting Data

# Delete a specific record
rs.delete("users", "user_1")

# Delete an entire collection
rs.delete("users")

Step-by-Step Workflow

  1. Setup: Ensure the Rocket-Store package is installed.
  2. Options: Set the data_storage_area if you want the data to persist in a specific project folder.
  3. Operations: Use post, get, and delete to manage your local data.
  4. Verification: Check the specified storage directory to see the JSON files created.

Manual Verification

Confirm that data is being saved in the directory specified in data_storage_area. Each collection will be a subdirectory, and each key will be a JSON file.

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Coding

OPC Landing Page Manager

Landing page strategy, copywriting, design, and code generation for solo entrepreneurs. From product idea to a complete, self-contained, conversion-optimized...

Registry SourceRecently Updated
Coding

OPC Product Manager

Product spec generation for solo entrepreneurs. Turns a one-sentence idea into a build-ready spec that AI coding agents (Claude Code, etc.) can execute direc...

Registry SourceRecently Updated
Coding

设备

Use when querying or modifying device configurations on ESD service, calling REST APIs with sigV2 authentication on HK baseline or STG environments

Registry SourceRecently Updated
Coding

My Agent Browser

A fast Rust-based headless browser automation CLI with Node.js fallback that enables AI agents to navigate, click, type, and snapshot pages via structured co...

Registry SourceRecently Updated