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

Workspace Init

Use this skill to initialize or update a multi-repo workspace created from dev-config-template. Invoke whenever the user wants to: set up a fresh workspace c...

Registry SourceRecently Updated
Coding

Google Seo Assistant

A client-facing SEO assistant grounded in Google's official SEO Starter Guide. Use this skill whenever a user mentions SEO, search rankings, Google visibilit...

Registry SourceRecently Updated
Coding

Version Drift

One command to check if your entire stack is up to date. SSHes into servers, queries APIs, and compares installed versions against latest — across every serv...

Registry SourceRecently Updated