LooDB
For posterity - an embedded SQL database
Install / Use
/learn @Qwe1rty/LooDBREADME
LooDB
LooDB is a lightweight SQL database based on SQLite3.
SQLoo: The Official Query Language for LooDB
LooDB features its own flavor of SQL, which can currently support queries as specified below:
| Command | create table |
| ----------- | ------------------ |
| Syntax | create table [table name] ( [col name] [type] [restriction], …); |
| Explanation | [table name] is the name of your table<br>[col] name is the name of your column<br>[type] is either integer or text<br>[restriction] is either primary key or not null |
| Command | drop table |
| ----------- | ---------------- |
| Syntax | drop table [table_name]; |
| Explanation | [table name] is the name of your table |
| Command | insert |
| ----------- | ------------ |
| Syntax | insert into [table name] values ([value], …); |
| Explanation | [table name] is the name of your table<br>[value] is either a null, text, or integer type |
| Command | select |
| ----------- | ------------ |
| Syntax | select [cols] from [table name] where [wheres]; |
| Explanation | [cols] is either a list of valid column names or *<br>[table name] is the name of your table<br>[wheres] is an expression of logical equalities, e.g. (a = 'hello' and (b = 5 or c = null)) |
There are currently some limitations to the parser, as it will not accept:
- Negative integers
- Strings that contain spaces in them
Installation Instructions
NOTE: these instructions are currently only written for Ubuntu
Before compiling the project, you will need to ensure that the prerequisites are correctly installed first.
Flex & Bison is the parser generator used to create the SQLoo interpreter. To install Flex & Bison, run the following commands:
sudo apt update
sudo apt install flex bison
To compile LooDB, please ensure that your system has a version of the g++ compiler that can support C++17.
Then, clone the repository and head to the project's root directory and run the command:
make
...and as long as there's a loodb executable produced, you're done! Simply run the loodb executable
wherever you'd like to create a local ./loo database directory
Related Skills
oracle
349.0kBest practices for using the oracle CLI (prompt + file bundling, engines, sessions, and file attachment patterns).
prose
349.0kOpenProse VM skill pack. Activate on any `prose` command, .prose files, or OpenProse mentions; orchestrates multi-agent workflows.
Command Development
109.4kThis skill should be used when the user asks to "create a slash command", "add a command", "write a custom command", "define command arguments", "use command frontmatter", "organize commands", "create command with file references", "interactive command", "use AskUserQuestion in command", or needs guidance on slash command structure, YAML frontmatter fields, dynamic arguments, bash execution in commands, user interaction patterns, or command development best practices for Claude Code.
Plugin Structure
109.4kThis skill should be used when the user asks to "create a plugin", "scaffold a plugin", "understand plugin structure", "organize plugin components", "set up plugin.json", "use ${CLAUDE_PLUGIN_ROOT}", "add commands/agents/skills/hooks", "configure auto-discovery", or needs guidance on plugin directory layout, manifest configuration, component organization, file naming conventions, or Claude Code plugin architecture best practices.
