What problem does it solve?
This Skill solves the problem of scattered skill configurations and logs by providing a centralized, persistent storage service that can be accessed by multiple skills to share data and coordinate actions.
Core Features & Use Cases
- Centralized storage for each skill's configuration and logs, enabling consistent data access across skills
- Incremental updates with automatic last_updated timestamps to track changes
- Simple Python API surface: save_config, save_logs, save, get_config, get_logs, get, get_all, list_skills, delete, clear
- Fast lookups and aggregation for orchestration, analytics, and cross-skill collaboration
- Use Case: A skill stores its configuration and logs; another skill reads them to adjust behavior or trigger dependent workflows.
Quick Start
Initialize the storage with a target JSON file, then save a skill's configuration and logs, and retrieve them when needed. Example:
storage = SkillStorage(data_path="/workspace/projects/skill-data.json")
storage.save_config("my-skill", {"mode": "production"})
storage.save_logs("my-skill", [{"time": "2024-01-22 12:00:00", "level": "INFO", "message": "start"}])
config = storage.get_config("my-skill")