← Back to Skills Marketplace
oblio-falootin

SQL Dreamer

by Oblio · GitHub ↗ · v0.1.0 · MIT-0
cross-platform ⚠ suspicious
45
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install sql-dreamer
Description
Feeds OpenClaw dreamer with high-importance memories from SQL, archives dream outputs back to SQL, and prunes old dream files automatically.
Usage Guidance
This skill appears to implement what it claims (SQL pre-feed, archiver, cleanup), but there are inconsistencies you should address before installing: - Metadata vs reality: The registry lists no required env vars, yet SKILL.md and the scripts require database credentials (SQL_PASSWORD/.env) and optionally a CONFLUENCE_API_TOKEN. Treat that as a packaging/documentation bug and verify required secrets before installing. - Least privilege: Provide the skill with the minimum DB privileges it needs (ideally separate read-only account for pre-feed and a constrained write account for archiving). Don't reuse admin or shared credentials. - Audit the code: Inspect src/sql_connector.py, scripts/pre_dream_sql_feed.py and scripts/post_dream_archiver.py to confirm which SQL queries and DELETE statements will run (migrate.py creates tables; archiver deletes old files/rows). If you have a staging DB, run the scripts there first. - Backup before running migrations or pruning: sql/migrate.py will create schemas/tables; post_dream_archiver/pruning will delete files older than N days — back up data and test with dry-run flags where available. - Confluence publishing: The confluence publisher posts to whatever domain and credentials you supply. Only enable it with a dedicated API token and review the markdown→storage conversion to ensure sensitive content isn't accidentally published. - Test in an isolated environment: Use a local or mocked SQL Server (or the included tests/mock_dreamer) to run pytest and the scripts with --dry-run to observe behavior without affecting production data. If you want, I can: (a) list the exact SQL statements used by the archiver and pre-feed scripts, (b) summarize places where credentials are read, or (c) produce a short checklist for safe deployment (accounts, backups, dry-run steps).
Capability Analysis
Type: OpenClaw Skill Name: sql-dreamer Version: 0.1.0 The sql-dreamer skill bundle is a well-documented and functional extension for OpenClaw designed to transition memory management from flat files to a SQL Server backend. The code implements the stated features—SQL-based memory curation, dream output archiving, and optional Confluence publishing—without any evidence of malicious intent or hidden data exfiltration. Security best practices are observed, such as the use of parameterized SQL queries in src/sql_connector.py to prevent injection and the use of environment variables for sensitive credentials like SQL_PASSWORD and CONFLUENCE_API_TOKEN. While the Confluence publisher (scripts/confluence_dream_publisher.py) and SQL connector involve network and database access, these capabilities are essential to the skill's purpose and are controlled by user-defined configurations.
Capability Tags
crypto
Capability Assessment
Purpose & Capability
The name/description (SQL-backed pre-feed and post-dream archiver) aligns with the included scripts and DB schema. However the registry metadata claims no required environment variables/credentials while the SKILL.md and code clearly expect SQL credentials (SQL_PASSWORD / .env) and an optional CONFLUENCE token. The README also declares a dependency on a separate sql-connector skill, yet this package includes a src/sql_connector.py file, which is an inconsistency worth auditing.
Instruction Scope
Runtime instructions and scripts read and write workspace files (memory/YYYY-MM-DD.md, memory/.dreams/short-term-recall.json, memory/dreaming/*), walk up the filesystem to find config/config.yml, and perform SQL reads/writes and deletions (e.g., clearing DreamLight for a cycle_date). These behaviors are expected for the purpose but the SKILL.md/README instruct storing DB credentials in ~/.openclaw/workspace/.env and exporting SQL_PASSWORD/CONFLUENCE_API_TOKEN. The skill also contains a confluence publisher that will POST content to a user-provided Confluence domain. The instructions give the agent broad discretion to access workspace files and DB content — verify that only intended data is queried and archived.
Install Mechanism
There is no formal install spec in the registry (no automated download/extract), which reduces pipeline risk, but the package contains many Python scripts, a requirements.txt (pyodbc, PyYAML), and migration scripts that will be run by the user. That mismatch (no install step declared but code included) is a packaging/documentation inconsistency to be mindful of. No remote, opaque download URLs are present in the manifest.
Credentials
Registry metadata lists no required env vars, yet SKILL.md/README and code expect SQL credentials (SQL_PASSWORD or .env keys such as SQL_CLOUD_PASSWORD/SQL_LOCAL_PASSWORD) and optionally CONFLUENCE_API_TOKEN. Asking for database credentials is appropriate for a DB-backed skill, but the package fails to declare these requirements in metadata — this omission impairs safe review and least-privilege decisions. Consider using a limited, read-only DB account for the pre-dream feed and a separate write account for archiving, and avoid giving global DB admin credentials.
Persistence & Privilege
The skill is not force-enabled (always: false) and uses normal autonomous invocation (disable-model-invocation: false). It doesn't request to modify other skills or global agent settings. It does perform persistent writes to your SQL database and remove old files per config, which is within the declared scope.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install sql-dreamer
  3. After installation, invoke the skill by name or use /sql-dreamer
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v0.1.0
Initial publication. SQL-backed memory corpus feeder and dream output archiver for OpenClaw. Replaces file-based memory ingestion with curated SQL queries, archives dream phase outputs to SQL.
Metadata
Slug sql-dreamer
Version 0.1.0
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is SQL Dreamer?

Feeds OpenClaw dreamer with high-importance memories from SQL, archives dream outputs back to SQL, and prunes old dream files automatically. It is an AI Agent Skill for Claude Code / OpenClaw, with 45 downloads so far.

How do I install SQL Dreamer?

Run "/install sql-dreamer" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is SQL Dreamer free?

Yes, SQL Dreamer is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does SQL Dreamer support?

SQL Dreamer is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created SQL Dreamer?

It is built and maintained by Oblio (@oblio-falootin); the current version is v0.1.0.

💬 Comments