跳到正文
TakoAPI
返回技能列表

kameleondb

由 marcosnataqs 提供

Marketing & Sales
1.4k下载量由 clawskills.sh 提供
2星标
0浏览量
0 个赞登录后即可为这个技能点赞
—暂无评分
你的评分

简介

Store and query structured data without planning schemas upfront.

描述

该技能的功能

KameleonDB is a schema-flexible database for agents that stores and queries structured data without upfront schema design. The schema evolves automatically as new fields are discovered, and old records remain intact. Supports SQLite for local use and PostgreSQL for production.

Unlike traditional relational databases, it removes the need for migration planning, letting agents start storing data immediately and restructure as patterns emerge.

何时使用

  • Tracking contacts and companies across agent sessions
  • Building a knowledge base from web scraping or API ingestion
  • Managing tasks where requirements change over time
  • Storing API response data with unknown or variable structure
  • Creating a lightweight CRM to track leads, deals, or tickets

示例工作流

输入

User asks: track the people I meet and add new details as I learn them

智能体
  1. 1

    Run kameleondb --json schema create Contact --field 'name:string:required' --field 'email:string:unique' to create the entity

  2. 2

    Run kameleondb --json data insert Contact '{"name":"Alice","email":"alice@example.com"}' to add a record

  3. 3

    Run kameleondb --json schema alter Contact --add 'linkedin_url:string' --reason 'Found LinkedIn profiles for contacts' when a new field is needed

  4. 4

    Run kameleondb --json data update Contact <id> '{"linkedin_url":"https://linkedin.com/in/alice"}' to fill in the new field

  5. 5

    Run kameleondb --json schema list to review all tracked entities

输出

Contact records stored and queryable via SQL, with schema updated in place and no existing records broken

前置要求

  • KAMELEONDB_URL environment variable

安装

clawhub install marcosnataqs/kameleondb

运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。

链接