matyasstoch/david-skills/david-sql-task-importance
Claude Code and agent skill by matyasstoch/david-skills
- community
Checking that the SKILL.md file is still in the repository.
Use when David wants to score or rate the importance of his Todoist tasks in docs/data/todoist-task-dimensions.db. Presents tasks 7 at a time (A-G), David gives scores (0-10), AI saves them. Also updates brain/ and docs/data/user-behavior.db.
Install
npx vskill@latest install matyasstoch/david-skills/david-sql-task-importanceSKILL.md
David SQL Task Importance — Batch Scoring
Goal: Score every task in docs/data/todoist-task-dimensions.db with a david_importance value (0-10 integer). David scores, AI records. No guessing.
Why This Matters
david_importance is fundamentally different from daily priority lists. Priority = "what should I do today?" Importance = "how much does this matter to my life, goals, and business?" A task can be low-priority today but importance-10. This column captures what David truly cares about — the signal that no daily triage can surface. Tasks scored 0 are archived to not_relevant automatically.
Scale
| Score | Meaning | |
|---|---|---|
| 0 | Dead. Irrelevant. Completed with no future bearing. | |
| 1 | Lowest leverage. Taking out trash, vacuuming. Does not matter long-term. | |
| 5 | Mid-range. Has some value but not a priority mover. | |
| 10 | Massive implications to David personally, the business, or the long-term vision/mission. |
Rules
- AI NEVER guesses scores. Only David assigns
david_importance. AI presents, David scores, AI saves. - Check DB before asking questions. Before presenting any task, check if
david_reasoningand other columns are already populated. Never ask redundant questions. - Voice-to-text decimals are errors. If David says "8.8" or "7.7", assume the repeated digit is a transcription artifact. Always round DOWN (8.8 → 8, 7.7 → 7).
- Voice-to-text duplicates are confirmation. If David repeats a score ("Task E, 9. Task E, 9."), take the first instance.
Presentation Format
Present 7 tasks per batch, lettered A-G:
- Always show progress (scored / total, remaining) before each batch.
- Letters A-G only. No numbers. David uses voice-to-text and letters are clearer.
- Task name only. No project, no priority, no metadata. Keep it minimal.
Scoring Method (CRITICAL — NO OFFSETS)
Never use SQL OFFSET to map scores to tasks. Offsets shift when rows are added/deleted and cause cascading errors.
Step 1: Fetch with explicit IDs
Store the 7 todoist_id values explicitly before presenting to David.
Step 2: Present task names (A-G)
Step 3: David gives scores
Step 4: Update using explicit todoist_id
Write each UPDATE as a separate, explicit SQL statement:
Never use subqueries, offsets, or shell loops. One todoist_id per UPDATE. No ambiguity.
Step 5: Auto-advance
After saving, immediately present the next 7. No confirmation needed.
Source of Tasks
Default: all tasks in docs/data/todoist-task-dimensions.db where david_importance IS NULL.
David may specify a different scope:
- "score all inbox tasks" → filter by domain or project
- "re-score my 9s and 10s" → filter by existing score
- "score today's Todoist tasks" → fetch fresh from Todoist API first (use todoist skill), upsert into DB, then score
Fetching Fresh Tasks from Todoist
When David wants to score tasks not yet in the DB:
- Fetch from Todoist API using the todoist skill
- Check each task against DB by
todoist_id - INSERT new tasks (with whatever columns can be inferred from task text)
- Present for scoring
Companion Updates
After each batch of David's responses:
- `docs/data/user-behavior.db` — log a message entry if behavior-tracking is active
- `brain/` — update relevant files if David's scores reveal new patterns about how he thinks or prioritizes
Database Location
docs/data/todoist-task-dimensions.db — column: david_importance INTEGER DEFAULT NULL
Wrap Up
When all tasks scored:
- Report total scored, distribution (how many 0s, how many 10s, etc.)
- Show top 20% (scores 8-10) as a ranked list
- Stage and push to GitHub
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/david-sql-task-importance/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/matyasstoch/david-skills/david-sql-task-importance)