duckdb
Skill526 starsChanged 18 days agoMITView on GitHub
Query the Lite app's DuckDB database safely while the collector is running
13 other projects use a version of this.
Adopted by
Most recently taken up by
- gspencergoog/skillstheir own version, first seen Nov 8, 2026
- fmind/dottheir own version, first seen Nov 8, 2026
- fmind/dotfilestheir own version, first seen Nov 8, 2026
- bmsuisse/skillstheir own version, first seen Nov 6, 2026
- kevmoo/kevmoo_skillstheir own version, first seen Nov 5, 2026
- mjun0812/skillstheir own version, first seen Nov 1, 2026
Other versions13 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 13
- kevmoo/kevmoo_skills★ 22same name
- tondevrel/scientific-agent-skills★ 22same name
- G1Joshi/Agent-Skills★ 15same name
- fmind/dot★ 13same name
- fmind/dotfiles★ 13same name
- benjaminwestern/google-engineer-skills★ 5same name
- bmsuisse/skills★ 2same name
- gspencergoog/skills★ 2same name
- Jiplet/transformation-os★ 2same name
- silvainfm/claude-skills★ 2same name
3 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository5 other files it gives its agents.
- llms.txtllms.txt
- buildSkill
- lane-ordersSkill
- maintenanceSkill
- release-checklistSkill
The file
We split this skill into the rules it gives an agent
2 rules. 0 are common, 1 is distinctive, and 1 is very specific to this project.
0
Common
Most of the 10 edited versions we read keep these.
1
Distinctive
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 25
Use Python with the duckdb module, always with this pattern:
- Distinctive: line 46
Close the connection: when done, so no read lock is left dangling
“Common” is measured: kept by at least 6 in 10 of the 10 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Query Lite's DuckDB Database
Safely query the PerformanceMonitor Lite DuckDB database using Python. This skill exists because DuckDB only allows one read-write connection at a time. When Lite is running (collecting data), it holds the write connection, so an external reader connects in read-only mode.
Database Location
The store lives at:
%LOCALAPPDATA%\PerformanceMonitorLite-Data\monitor.duckdbLite 3.3.0 and earlier kept it at the path below, and the file moves to the path above only when a newer build first runs. Check the path above first, and fall back to this one when it does not exist:
%LOCALAPPDATA%\PerformanceMonitorLite\monitor.duckdbHow to Query
Use Python with the duckdb module, always with this pattern:
python -c "
import duckdb, os
la = os.environ['LOCALAPPDATA']
p = la + '/PerformanceMonitorLite-Data/monitor.duckdb'
if not os.path.exists(p):
p = la + '/PerformanceMonitorLite/monitor.duckdb'
con = duckdb.connect(p, read_only=True)
result = con.execute('YOUR SQL HERE').fetchall()
for row in result:
print(row)
con.close()
"Rules
- Pass
read_only=Truetoduckdb.connect(). The default is read-write. Lite's write lock blocks a read-write connection, and it hangs or fails. - Use forward slashes in the path (Python on Windows handles this fine)
- Close the connection when done, so no read lock is left dangling
- Use Python with its
duckdbmodule
Common Queries
List all tables:
SELECT table_name FROM information_schema.tables WHERE table_schema = 'main' ORDER BY table_name;List columns for a table:
SELECT column_name, data_type FROM information_schema.columns WHERE table_name = 'TABLE_NAME' ORDER BY ordinal_position;List all views:
SELECT table_name FROM information_schema.tables WHERE table_type = 'VIEW' ORDER BY table_name;Row counts:
SELECT table_name, estimated_size FROM duckdb_tables() ORDER BY estimated_size DESC;DuckDB vs SQL Server Syntax Notes
- String concatenation:
||(not+) - ILIKE for case-insensitive LIKE
EPOCH_MS(timestamp_col)to convert to epochstrftime('%Y-%m-%d %H:%M:%S', ts)for formatting- No
TOP N-- useLIMIT Ninstead EXCLUDEclause:SELECT * EXCLUDE (col1, col2) FROM table
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

