Automated summary
This skill enables storage and retrieval of structured data using a CLI tool with flexible schema definitions and namespace-based organization.
Strengths
- Supports flexible, strict, and dynamic schema modes.
- Uses URI-like addressing for data access.
- Provides namespace strategy for multi-project or multi-user separation.
- Allows nested fields and various data types.
Limitations
- Requires installation and setup of the XDB CLI tool.
- Not a full database; may lack advanced querying capabilities.
- Learning curve for URI format and schema modes.
Use when you need a simple, schema-aware CLI tool to persist and organize structured data across projects or agents.
Avoid when you need complex relational queries, transactions, or when data volume exceeds CLI tool capacity.
Security analysis
SafeThe skill provides instructions for using the XDB CLI tool to manage structured data. It does not contain any commands that could be destructive or exfiltrating. The use of Bash and Write is limited to legitimate data management tasks.
No concerns found
How this analysis is madeExamples
Use xdb to store the scraped page title and URL in namespace agent.scraper, schema pages, with a randomized id. Use flexible mode.Define a strict schema called 'issues' under namespace project.myapp with fields: title (STRING), status (STRING), priority (INTEGER), assignee (STRING). Then create the schema using xdb make-schema.I need to store conversation history for an agent. Use xdb with dynamic mode under namespace agent.memory, schema conversations. Store each user message with a unique id, timestamp, content, and role.name: using-xdb description: Use XDB CLI to store and manage structured data. Use when you need to persist data, create schemas for tracking information (issues, scraped data, metrics, logs), or organize data by namespace for different projects/users/contexts. allowed-tools: Bash(xdb:*), Write
Using XDB CLI for Data Management
Run xdb --help for command syntax and flags.
URI Format
xdb://NAMESPACE/SCHEMA/ID#ATTRIBUTE
| Component | Required | Example |
| --------- | ------------ | --------------------------------------------- |
| Namespace | Yes | agent.scraper, user.john, project.myapp |
| Schema | For data ops | articles, issues, tasks |
| ID | For records | article-123, issue-1 |
| Attribute | Optional | #title, #status, #author.name |
Namespace Strategy
| Pattern | Use Case | Example |
| ---------------- | ------------------- | ----------------------------------- |
| agent.<name> | Agent-specific data | agent.scraper, agent.researcher |
| user.<id> | Per-user data | user.john, user.admin |
| project.<name> | Project data | project.webapp, project.api |
| team.<name> | Team shared data | team.engineering, team.support |
| org.<name> | Organization data | org.acme, org.internal |
Schema Definition Format
Modes:
| Mode | Behavior |
| ---------- | ------------------------------------------------------- |
| flexible | Accepts any attributes (default, no schema file needed) |
| strict | Only allows attributes defined in schema |
| dynamic | Auto-infers and adds new fields from data |
Flexible schema:
xdb make-schema xdb://agent.scraper/articles
Strict or dynamic schema with JSON definition:
{
"name": "Article",
"mode": "strict",
"fields": [
{ "name": "title", "type": "STRING" },
{ "name": "tags", "type": "ARRAY", "array_of": "STRING" },
{
"name": "metadata",
"type": "MAP",
"map_key": "STRING",
"map_value": "STRING"
},
{ "name": "author.name", "type": "STRING" },
{ "name": "author.email", "type": "STRING" }
]
}
Types: STRING, INTEGER, UNSIGNED, FLOAT, BOOLEAN, TIME, BYTES, ARRAY, MAP
Nested fields: Use dot notation (author.name, stats.views)
Nanoid Helper
Generate unique IDs:
nanoid() { openssl rand -base64 12 | tr -dc 'a-zA-Z0-9' | head -c 21; }
Example Use Cases
| Use Case | Mode | Namespace | Schema |
| ------------------- | ---------- | ------------------ | --------------- |
| Web scraping | flexible | agent.scraper | pages |
| Issue tracking | strict | project.<name> | issues |
| Research notes | dynamic | agent.researcher | notes |
| API cache | flexible | agent.api | cache |
| Conversation memory | dynamic | agent.memory | conversations |
| Bookmarks | flexible | user.<id> | bookmarks |
| Code snippets | strict | team.<name> | snippets |
| Meeting notes | dynamic | org.<name> | meetings |
| Error logs | dynamic | project.<name> | errors |
| Feature flags | strict | project.<name> | flags |
Workflow Examples
- Web Scraper Agent - Store scraped pages
- Issue Tracker Agent - Track issues with strict schema
- Metrics Tracking Agent - Time-series metrics
- Multi-User Task Manager - Per-user namespaces
From the file to a first result
The download contains exactly the content displayed on this page. This copy may differ from the latest version in the source repository.
View the source and supporting filesThis download contains SKILL.md only. Any scripts, references, templates and dependencies are not included. Get the required files from the source, preserving their directory structure, before continuing.
1. Download the file
Download SKILL.mdFrom the root of a test project, save the file as .skill-downloads/data-management-with-xdb-cli-mm8o51pu/SKILL.md, or use the command below. This folder is for inspecting the skill before installation.
Command for macOS/Linux or WSL: requires a POSIX shell and curl. On Windows without WSL, use the download button and create the folder manually.
mkdir -p '.skill-downloads/data-management-with-xdb-cli-mm8o51pu' && curl --fail --show-error --location 'https://skills-guides.com/api/skills/data-management-with-xdb-cli-mm8o51pu/download' --output '.skill-downloads/data-management-with-xdb-cli-mm8o51pu/SKILL.md.part' && mv '.skill-downloads/data-management-with-xdb-cli-mm8o51pu/SKILL.md.part' '.skill-downloads/data-management-with-xdb-cli-mm8o51pu/SKILL.md'2. Check prerequisites
Read SKILL.md before using it. If it references scripts or external services, inspect them and prepare the required access in your test environment.
Tools declared by the author (check availability in your agent): Bash(xdb:*), Write
No recognized prerequisites section in this file. This does not mean it is self-contained: libraries, tools and access requirements may be mentioned elsewhere in the content or source repository.
The platforms on this page are catalog indications. The paths below follow tool documentation; they do not prove this skill has been run in those tools. No minimum tool version is confirmed for this listing.
3. Load the skill
After inspection, copy the complete folder into your project using one of the commands below, then open a new tool session. The command stops if a folder with the same name already exists: compare the files before replacing it.
Claude Code
test -f '.skill-downloads/data-management-with-xdb-cli-mm8o51pu/SKILL.md' && test -s '.skill-downloads/data-management-with-xdb-cli-mm8o51pu/SKILL.md' && mkdir -p '.claude/skills' && test ! -e '.claude/skills/using-xdb' && cp -R '.skill-downloads/data-management-with-xdb-cli-mm8o51pu' '.claude/skills/using-xdb'OpenSkills
OpenSkills must already be installed. The local install/read procedure is checked with OpenSkills 1.5.0, which requires Node.js ≥ 20.6.0. Catalog slugs are not resolved automatically.
Official OpenSkills installationopenskills install './.skill-downloads/data-management-with-xdb-cli-mm8o51pu'openskills read 'data-management-with-xdb-cli-mm8o51pu'Reading should display the installed file content and its base directory. It does not run the skill or install its dependencies.
For an agent that reads AGENTS.md, then sync the index. This command changes AGENTS.md: review the diff before using it.
openskills syncManual method or another tool: attach SKILL.md to a conversation, or open it in an agent that can read files. Include any required supporting resources. No universal folder is recognized by every tool.
4. Try a first task
Use a short, synthetic input: an API endpoint, a small document or an interface brief. In a new conversation, attach the file or give the agent its path, then adapt this request:
Read .skill-downloads/data-management-with-xdb-cli-mm8o51pu/SKILL.md and apply its instructions to this example: [describe a test input]. Identify any missing files, dependencies or access. Produce the result requested by the skill without inventing data or running unreviewed scripts.Expected result: output matching the skill instructions, or a precise list of missing prerequisites. A read confirmation alone does not validate a first use. If an external resource is unavailable, that path remains untested.
Create Interactive Maps with kepler.gl
Data & AI
Create interactive map visualizations and export standalone HTML using the keplergl Python package. Use to plot geospatial data from DataFrames, GeoJSON, or CSV.
Agent-Driven Parameter Optimization
Data & AI
Guide for optimizing configurable systems with a measurable objective, using bounded trials and evidence-based recommendations.
ICP Visitor Outreach
Data & AI
Identify signed-up users matching the ideal customer profile but stalled, and draft personalized outreach to re-engage them.