用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/johnalbertini14-glitch/openclaw-skills --skill sqlite命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
Use this skill to create a Polymarket wallet for your agent and trade on prediction markets. Browse markets, place bets, manage positions — all without exposing private keys.
ClawSec suite manager with embedded advisory-feed monitoring, cryptographic signature verification, approval-gated malicious-skill response, and guided setup for additional security skills.
Automated daily security audits for OpenClaw agents with email reporting. Runs deep audits and sends formatted reports.
基于 SOC 职业分类
正在显示 SKILL.md
| name | SQLite |
| description | Use SQLite correctly with proper concurrency, pragmas, and type handling. |
| metadata | {"clawdbot":{"emoji":"🪶","requires":{"bins":["sqlite3"]},"os":["linux","darwin","win32"]}} |
PRAGMA journal_mode=WAL—allows reads during writes, huge improvementPRAGMA busy_timeout=5000—waits 5s before SQLITE_BUSY instead of failing immediately-wal and -shm files—don't forget to copy them with main databaseBEGIN IMMEDIATE to grab write lock early—prevents deadlocks in read-then-write patternsPRAGMA foreign_keys=ON required per connection—not persisted in databasePRAGMA foreign_keys returns 0 or 1STRICT tables enforce types—but only SQLite 3.37+ (2021)ALTER TABLE very limited—can add column, rename table/column; that's mostly itALTER TABLE ADD COLUMN can't have PRIMARY KEY, UNIQUE, or NOT NULL without defaultPRAGMA optimize before closing long-running connections—updates query planner statsPRAGMA cache_size=-64000 for 64MB cache—negative = KB; default very smallPRAGMA synchronous=NORMAL with WAL—good balance of safety and speedPRAGMA temp_store=MEMORY for temp tables in RAM—faster sorts and temp resultsVACUUM rewrites entire database, reclaims spaceVACUUM needs 2x disk space temporarily—ensure enough roomPRAGMA auto_vacuum=INCREMENTAL with PRAGMA incremental_vacuum—partial reclaim without full rewrite.backup command in sqlite3—or sqlite3_backup_* API-wal and -shm must be copied atomically with main fileVACUUM INTO 'backup.db' creates standalone copy (3.27+)CREATE INDEX ... WHERE conditionCREATE INDEX ON t(lower(name))EXPLAIN QUERY PLAN shows index usage—simpler than PostgreSQL EXPLAINBEGIN; INSERT...; INSERT...; COMMIT—10-100x fasterBEGIN EXCLUSIVE for exclusive lock—blocks all other connectionsSAVEPOINT name / RELEASE name / ROLLBACK TO nameVACUUM can change ROWIDs; use explicit INTEGER PRIMARY KEY':memory:'—each connection gets different database; use file::memory:?cache=shared for shared