flonat-research 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.claude/agents/domain-reviewer.md +336 -0
- package/.claude/agents/fixer.md +226 -0
- package/.claude/agents/paper-critic.md +370 -0
- package/.claude/agents/peer-reviewer.md +289 -0
- package/.claude/agents/proposal-reviewer.md +215 -0
- package/.claude/agents/referee2-reviewer.md +367 -0
- package/.claude/agents/references/journal-referee-profiles.md +354 -0
- package/.claude/agents/references/paper-critic/council-personas.md +77 -0
- package/.claude/agents/references/paper-critic/council-prompts.md +198 -0
- package/.claude/agents/references/peer-reviewer/report-template.md +199 -0
- package/.claude/agents/references/peer-reviewer/sa-prompts.md +260 -0
- package/.claude/agents/references/peer-reviewer/security-scan.md +188 -0
- package/.claude/agents/references/proposal-reviewer/report-template.md +144 -0
- package/.claude/agents/references/proposal-reviewer/sa-prompts.md +149 -0
- package/.claude/agents/references/referee-config.md +114 -0
- package/.claude/agents/references/referee2-reviewer/audit-checklists.md +287 -0
- package/.claude/agents/references/referee2-reviewer/report-template.md +334 -0
- package/.claude/rules/design-before-results.md +52 -0
- package/.claude/rules/ignore-agents-md.md +17 -0
- package/.claude/rules/ignore-gemini-md.md +17 -0
- package/.claude/rules/lean-claude-md.md +45 -0
- package/.claude/rules/learn-tags.md +99 -0
- package/.claude/rules/overleaf-separation.md +67 -0
- package/.claude/rules/plan-first.md +175 -0
- package/.claude/rules/read-docs-first.md +50 -0
- package/.claude/rules/scope-discipline.md +28 -0
- package/.claude/settings.json +125 -0
- package/.context/current-focus.md +33 -0
- package/.context/preferences/priorities.md +36 -0
- package/.context/preferences/task-naming.md +28 -0
- package/.context/profile.md +29 -0
- package/.context/projects/_index.md +41 -0
- package/.context/projects/papers/nudge-exp.md +22 -0
- package/.context/projects/papers/uncertainty.md +31 -0
- package/.context/resources/claude-scientific-writer-review.md +48 -0
- package/.context/resources/cunningham-multi-analyst-agents.md +104 -0
- package/.context/resources/cunningham-multilang-code-audit.md +62 -0
- package/.context/resources/google-ai-co-scientist-review.md +72 -0
- package/.context/resources/karpathy-llm-council-review.md +58 -0
- package/.context/resources/multi-coder-reliability-protocol.md +175 -0
- package/.context/resources/pedro-santanna-takeaways.md +96 -0
- package/.context/resources/venue-rankings/abs_ajg_2024.csv +1823 -0
- package/.context/resources/venue-rankings/abs_ajg_2024_econ.csv +356 -0
- package/.context/resources/venue-rankings/cabs_4_4star_theory.csv +40 -0
- package/.context/resources/venue-rankings/core_2026.csv +801 -0
- package/.context/resources/venue-rankings.md +147 -0
- package/.context/workflows/README.md +69 -0
- package/.context/workflows/daily-review.md +91 -0
- package/.context/workflows/meeting-actions.md +108 -0
- package/.context/workflows/replication-protocol.md +155 -0
- package/.context/workflows/weekly-review.md +113 -0
- package/.mcp-server-biblio/formatters.py +158 -0
- package/.mcp-server-biblio/pyproject.toml +11 -0
- package/.mcp-server-biblio/server.py +678 -0
- package/.mcp-server-biblio/sources/__init__.py +14 -0
- package/.mcp-server-biblio/sources/base.py +73 -0
- package/.mcp-server-biblio/sources/formatters.py +83 -0
- package/.mcp-server-biblio/sources/models.py +22 -0
- package/.mcp-server-biblio/sources/multi_source.py +243 -0
- package/.mcp-server-biblio/sources/openalex_source.py +183 -0
- package/.mcp-server-biblio/sources/scopus_source.py +309 -0
- package/.mcp-server-biblio/sources/wos_source.py +508 -0
- package/.mcp-server-biblio/uv.lock +896 -0
- package/.scripts/README.md +161 -0
- package/.scripts/ai_pattern_density.py +446 -0
- package/.scripts/conf +445 -0
- package/.scripts/config.py +122 -0
- package/.scripts/count_inventory.py +275 -0
- package/.scripts/daily_digest.py +288 -0
- package/.scripts/done +177 -0
- package/.scripts/extract_meeting_actions.py +223 -0
- package/.scripts/focus +176 -0
- package/.scripts/generate-codex-agents-md.py +217 -0
- package/.scripts/inbox +194 -0
- package/.scripts/notion_helpers.py +325 -0
- package/.scripts/openalex/query_helpers.py +306 -0
- package/.scripts/papers +227 -0
- package/.scripts/query +223 -0
- package/.scripts/session-history.py +201 -0
- package/.scripts/skill-health.py +516 -0
- package/.scripts/skill-log-miner.py +273 -0
- package/.scripts/sync-to-codex.sh +252 -0
- package/.scripts/task +213 -0
- package/.scripts/tasks +190 -0
- package/.scripts/week +206 -0
- package/CLAUDE.md +197 -0
- package/LICENSE +21 -0
- package/MEMORY.md +38 -0
- package/README.md +269 -0
- package/docs/agents.md +44 -0
- package/docs/bibliography-setup.md +55 -0
- package/docs/council-mode.md +36 -0
- package/docs/getting-started.md +245 -0
- package/docs/hooks.md +38 -0
- package/docs/mcp-servers.md +82 -0
- package/docs/notion-setup.md +109 -0
- package/docs/rules.md +33 -0
- package/docs/scripts.md +303 -0
- package/docs/setup-overview/setup-overview.pdf +0 -0
- package/docs/skills.md +70 -0
- package/docs/system.md +159 -0
- package/hooks/block-destructive-git.sh +66 -0
- package/hooks/context-monitor.py +114 -0
- package/hooks/postcompact-restore.py +157 -0
- package/hooks/precompact-autosave.py +181 -0
- package/hooks/promise-checker.sh +124 -0
- package/hooks/protect-source-files.sh +81 -0
- package/hooks/resume-context-loader.sh +53 -0
- package/hooks/startup-context-loader.sh +102 -0
- package/package.json +51 -0
- package/packages/cli-council/.github/workflows/claude-code-review.yml +44 -0
- package/packages/cli-council/.github/workflows/claude.yml +50 -0
- package/packages/cli-council/README.md +100 -0
- package/packages/cli-council/pyproject.toml +43 -0
- package/packages/cli-council/src/cli_council/__init__.py +19 -0
- package/packages/cli-council/src/cli_council/__main__.py +185 -0
- package/packages/cli-council/src/cli_council/backends/__init__.py +8 -0
- package/packages/cli-council/src/cli_council/backends/base.py +81 -0
- package/packages/cli-council/src/cli_council/backends/claude.py +25 -0
- package/packages/cli-council/src/cli_council/backends/codex.py +27 -0
- package/packages/cli-council/src/cli_council/backends/gemini.py +26 -0
- package/packages/cli-council/src/cli_council/checkpoint.py +212 -0
- package/packages/cli-council/src/cli_council/config.py +51 -0
- package/packages/cli-council/src/cli_council/council.py +391 -0
- package/packages/cli-council/src/cli_council/models.py +46 -0
- package/packages/llm-council/.github/workflows/claude-code-review.yml +44 -0
- package/packages/llm-council/.github/workflows/claude.yml +50 -0
- package/packages/llm-council/README.md +453 -0
- package/packages/llm-council/pyproject.toml +42 -0
- package/packages/llm-council/src/llm_council/__init__.py +23 -0
- package/packages/llm-council/src/llm_council/__main__.py +259 -0
- package/packages/llm-council/src/llm_council/checkpoint.py +193 -0
- package/packages/llm-council/src/llm_council/client.py +253 -0
- package/packages/llm-council/src/llm_council/config.py +232 -0
- package/packages/llm-council/src/llm_council/council.py +482 -0
- package/packages/llm-council/src/llm_council/models.py +46 -0
- package/packages/mcp-bibliography/MEMORY.md +31 -0
- package/packages/mcp-bibliography/_app.py +226 -0
- package/packages/mcp-bibliography/formatters.py +158 -0
- package/packages/mcp-bibliography/log/2026-03-13-2100.md +35 -0
- package/packages/mcp-bibliography/pyproject.toml +15 -0
- package/packages/mcp-bibliography/run.sh +20 -0
- package/packages/mcp-bibliography/scholarly_formatters.py +83 -0
- package/packages/mcp-bibliography/server.py +1857 -0
- package/packages/mcp-bibliography/tools/__init__.py +28 -0
- package/packages/mcp-bibliography/tools/_registry.py +19 -0
- package/packages/mcp-bibliography/tools/altmetric.py +107 -0
- package/packages/mcp-bibliography/tools/core.py +92 -0
- package/packages/mcp-bibliography/tools/dblp.py +52 -0
- package/packages/mcp-bibliography/tools/openalex.py +296 -0
- package/packages/mcp-bibliography/tools/opencitations.py +102 -0
- package/packages/mcp-bibliography/tools/openreview.py +179 -0
- package/packages/mcp-bibliography/tools/orcid.py +131 -0
- package/packages/mcp-bibliography/tools/scholarly.py +575 -0
- package/packages/mcp-bibliography/tools/unpaywall.py +63 -0
- package/packages/mcp-bibliography/tools/zenodo.py +123 -0
- package/packages/mcp-bibliography/uv.lock +711 -0
- package/scripts/setup.sh +143 -0
- package/skills/beamer-deck/SKILL.md +199 -0
- package/skills/beamer-deck/references/quality-rubric.md +54 -0
- package/skills/beamer-deck/references/review-prompts.md +106 -0
- package/skills/bib-validate/SKILL.md +261 -0
- package/skills/bib-validate/references/council-mode.md +34 -0
- package/skills/bib-validate/references/deep-verify.md +79 -0
- package/skills/bib-validate/references/fix-mode.md +36 -0
- package/skills/bib-validate/references/openalex-verification.md +45 -0
- package/skills/bib-validate/references/preprint-check.md +31 -0
- package/skills/bib-validate/references/ref-manager-crossref.md +41 -0
- package/skills/bib-validate/references/report-template.md +82 -0
- package/skills/code-archaeology/SKILL.md +141 -0
- package/skills/code-review/SKILL.md +265 -0
- package/skills/code-review/references/quality-rubric.md +67 -0
- package/skills/consolidate-memory/SKILL.md +208 -0
- package/skills/context-status/SKILL.md +126 -0
- package/skills/creation-guard/SKILL.md +230 -0
- package/skills/devils-advocate/SKILL.md +130 -0
- package/skills/devils-advocate/references/competing-hypotheses.md +83 -0
- package/skills/init-project/SKILL.md +115 -0
- package/skills/init-project-course/references/memory-and-settings.md +92 -0
- package/skills/init-project-course/references/organise-templates.md +94 -0
- package/skills/init-project-course/skill.md +147 -0
- package/skills/init-project-light/skill.md +139 -0
- package/skills/init-project-research/SKILL.md +368 -0
- package/skills/init-project-research/references/atlas-pipeline-sync.md +70 -0
- package/skills/init-project-research/references/atlas-schema.md +81 -0
- package/skills/init-project-research/references/confirmation-report.md +39 -0
- package/skills/init-project-research/references/domain-profile-template.md +104 -0
- package/skills/init-project-research/references/interview-round3.md +34 -0
- package/skills/init-project-research/references/literature-discovery.md +43 -0
- package/skills/init-project-research/references/scaffold-details.md +197 -0
- package/skills/init-project-research/templates/field-calibration.md +60 -0
- package/skills/init-project-research/templates/pipeline-manifest.md +63 -0
- package/skills/init-project-research/templates/run-all.sh +116 -0
- package/skills/init-project-research/templates/seed-files.md +337 -0
- package/skills/insights-deck/SKILL.md +151 -0
- package/skills/interview-me/SKILL.md +157 -0
- package/skills/latex/SKILL.md +141 -0
- package/skills/latex/references/latex-configs.md +183 -0
- package/skills/latex-autofix/SKILL.md +230 -0
- package/skills/latex-autofix/references/known-errors.md +183 -0
- package/skills/latex-autofix/references/quality-rubric.md +50 -0
- package/skills/latex-health-check/SKILL.md +161 -0
- package/skills/learn/SKILL.md +220 -0
- package/skills/learn/scripts/validate_skill.py +265 -0
- package/skills/lessons-learned/SKILL.md +201 -0
- package/skills/literature/SKILL.md +335 -0
- package/skills/literature/references/agent-templates.md +393 -0
- package/skills/literature/references/bibliometric-apis.md +44 -0
- package/skills/literature/references/cli-council-search.md +79 -0
- package/skills/literature/references/openalex-api-guide.md +371 -0
- package/skills/literature/references/openalex-common-queries.md +381 -0
- package/skills/literature/references/openalex-workflows.md +248 -0
- package/skills/literature/references/reference-manager-sync.md +36 -0
- package/skills/literature/references/scopus-api-guide.md +208 -0
- package/skills/literature/references/wos-api-guide.md +308 -0
- package/skills/multi-perspective/SKILL.md +311 -0
- package/skills/multi-perspective/references/computational-many-analysts.md +77 -0
- package/skills/pipeline-manifest/SKILL.md +226 -0
- package/skills/pre-submission-report/SKILL.md +153 -0
- package/skills/process-reviews/SKILL.md +244 -0
- package/skills/process-reviews/references/rr-routing.md +101 -0
- package/skills/project-deck/SKILL.md +87 -0
- package/skills/project-safety/SKILL.md +135 -0
- package/skills/proofread/SKILL.md +254 -0
- package/skills/proofread/references/quality-rubric.md +104 -0
- package/skills/python-env/SKILL.md +57 -0
- package/skills/quarto-deck/SKILL.md +226 -0
- package/skills/quarto-deck/references/markdown-format.md +143 -0
- package/skills/quarto-deck/references/quality-rubric.md +54 -0
- package/skills/save-context/SKILL.md +174 -0
- package/skills/session-log/SKILL.md +98 -0
- package/skills/shared/concept-validation-gate.md +161 -0
- package/skills/shared/council-protocol.md +265 -0
- package/skills/shared/distribution-diagnostics.md +164 -0
- package/skills/shared/engagement-stratified-sampling.md +218 -0
- package/skills/shared/escalation-protocol.md +74 -0
- package/skills/shared/external-audit-protocol.md +205 -0
- package/skills/shared/intercoder-reliability.md +256 -0
- package/skills/shared/mcp-degradation.md +81 -0
- package/skills/shared/method-probing-questions.md +163 -0
- package/skills/shared/multi-language-conventions.md +143 -0
- package/skills/shared/paid-api-safety.md +174 -0
- package/skills/shared/palettes.md +90 -0
- package/skills/shared/progressive-disclosure.md +92 -0
- package/skills/shared/project-documentation-content.md +443 -0
- package/skills/shared/project-documentation-format.md +281 -0
- package/skills/shared/project-documentation.md +100 -0
- package/skills/shared/publication-output.md +138 -0
- package/skills/shared/quality-scoring.md +70 -0
- package/skills/shared/reference-resolution.md +77 -0
- package/skills/shared/research-quality-rubric.md +165 -0
- package/skills/shared/rhetoric-principles.md +54 -0
- package/skills/shared/skill-design-patterns.md +272 -0
- package/skills/shared/skill-index.md +240 -0
- package/skills/shared/system-documentation.md +334 -0
- package/skills/shared/tikz-rules.md +402 -0
- package/skills/shared/validation-tiers.md +121 -0
- package/skills/shared/venue-guides/README.md +46 -0
- package/skills/shared/venue-guides/cell_press_style.md +483 -0
- package/skills/shared/venue-guides/conferences_formatting.md +564 -0
- package/skills/shared/venue-guides/cs_conference_style.md +463 -0
- package/skills/shared/venue-guides/examples/cell_summary_example.md +247 -0
- package/skills/shared/venue-guides/examples/medical_structured_abstract.md +313 -0
- package/skills/shared/venue-guides/examples/nature_abstract_examples.md +213 -0
- package/skills/shared/venue-guides/examples/neurips_introduction_example.md +245 -0
- package/skills/shared/venue-guides/journals_formatting.md +486 -0
- package/skills/shared/venue-guides/medical_journal_styles.md +535 -0
- package/skills/shared/venue-guides/ml_conference_style.md +556 -0
- package/skills/shared/venue-guides/nature_science_style.md +405 -0
- package/skills/shared/venue-guides/reviewer_expectations.md +417 -0
- package/skills/shared/venue-guides/venue_writing_styles.md +321 -0
- package/skills/split-pdf/SKILL.md +172 -0
- package/skills/split-pdf/methodology.md +48 -0
- package/skills/sync-notion/SKILL.md +93 -0
- package/skills/system-audit/SKILL.md +157 -0
- package/skills/system-audit/references/sub-agent-prompts.md +294 -0
- package/skills/task-management/SKILL.md +131 -0
- package/skills/update-focus/SKILL.md +204 -0
- package/skills/update-project-doc/SKILL.md +194 -0
- package/skills/validate-bib/SKILL.md +242 -0
- package/skills/validate-bib/references/council-mode.md +34 -0
- package/skills/validate-bib/references/deep-verify.md +71 -0
- package/skills/validate-bib/references/openalex-verification.md +45 -0
- package/skills/validate-bib/references/preprint-check.md +31 -0
- package/skills/validate-bib/references/report-template.md +62 -0
|
@@ -0,0 +1,157 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: system-audit
|
|
3
|
+
description: "Use when you need to run parallel audits across skills, hooks, agents, rules, and conventions."
|
|
4
|
+
allowed-tools: Bash(ls*), Bash(readlink*), Bash(wc*), Bash(git*), Bash(test*), Bash(stat*), Bash(find*), Read, Glob, Grep, Task
|
|
5
|
+
argument-hint: "[no arguments — runs full sweep]"
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
# Maintenance Sweep
|
|
9
|
+
|
|
10
|
+
> System-wide health check using agnix lint + 7 parallel sub-agents. Produces a consolidated report at `audits/system-audit-YYYY-MM-DD.md`. **Report-only — never modifies any files.**
|
|
11
|
+
|
|
12
|
+
## When to Use
|
|
13
|
+
|
|
14
|
+
- Periodic system hygiene (monthly or after major changes)
|
|
15
|
+
- When the user says "maintenance sweep", "system health check", "audit my setup"
|
|
16
|
+
- After adding/removing skills, hooks, agents, or rules
|
|
17
|
+
- Before presenting the system to others (ensure everything is consistent)
|
|
18
|
+
|
|
19
|
+
## Overview
|
|
20
|
+
|
|
21
|
+
1. **Lint** — run `npx agnix .` to validate skills, hooks, agents, and CLAUDE.md
|
|
22
|
+
2. **Dispatch** — launch 7 sub-agents in parallel via the Task tool
|
|
23
|
+
3. **Collect** — gather each sub-agent's findings
|
|
24
|
+
4. **Consolidate** — merge lint results + sub-agent findings into a single timestamped report
|
|
25
|
+
5. **Present** — show key findings to the user
|
|
26
|
+
|
|
27
|
+
**Python:** Always use `uv run python` or `uv pip install`. Never bare `python`, `python3`, `pip`, or `pip3`. Include this in sub-agent prompts.
|
|
28
|
+
|
|
29
|
+
---
|
|
30
|
+
|
|
31
|
+
## Phase 0: agnix Lint
|
|
32
|
+
|
|
33
|
+
Run `npx agnix .` in the main context (no sub-agent needed — it's fast). Capture the summary line.
|
|
34
|
+
|
|
35
|
+
**Pass criteria:** 0 errors. Warnings are informational only.
|
|
36
|
+
|
|
37
|
+
If errors > 0, list them in the report under an **agnix Lint** section. These are structural issues in skill/hook/agent frontmatter that should be fixed.
|
|
38
|
+
|
|
39
|
+
Config lives in `.agnix.toml` at project root — known false positives are already suppressed.
|
|
40
|
+
|
|
41
|
+
---
|
|
42
|
+
|
|
43
|
+
## Phase 1: Dispatch Sub-Agents
|
|
44
|
+
|
|
45
|
+
Launch all 7 in a single message using parallel Task tool calls. Each sub-agent is `subagent_type: Explore`.
|
|
46
|
+
|
|
47
|
+
**Context overflow prevention:** Instruct each sub-agent to keep its returned output concise — summary tables and key findings only (under 500 words). If detailed findings are large, the sub-agent should write them to a temp file (e.g., `/tmp/system-audit/sa-N.md`) and return only the file path + summary.
|
|
48
|
+
|
|
49
|
+
All sub-agents receive shared context (Task Management root, research projects root, category directories). Full shared context block and all 6 sub-agent prompt templates:
|
|
50
|
+
|
|
51
|
+
**[references/sub-agent-prompts.md](references/sub-agent-prompts.md)**
|
|
52
|
+
|
|
53
|
+
Sub-agents at a glance:
|
|
54
|
+
|
|
55
|
+
| # | Name | What it checks |
|
|
56
|
+
|---|------|---------------|
|
|
57
|
+
| 1 | Inventory Auditor | Skill/hook/agent/rule counts, symlinks, MCP alignment |
|
|
58
|
+
| 2 | Bibliography & Project Hygiene | .bib files, naming, MEMORY.md presence |
|
|
59
|
+
| 3 | Convention Compliance | LaTeX out/, Overleaf separation, Python env, git health |
|
|
60
|
+
| 4 | Documentation Freshness | Stale counts, broken links, .context/ freshness |
|
|
61
|
+
| 5 | Ecosystem Health | MCP server refs, staleness, orphans, CLI tools |
|
|
62
|
+
| 6 | Skill Quality & Overlap | Bloat, staleness, cross-component overlap |
|
|
63
|
+
| 7 | Santi Repo Health | Skill/rule freshness vs upstream, anonymisation, install script |
|
|
64
|
+
|
|
65
|
+
---
|
|
66
|
+
|
|
67
|
+
## Phase 2: Collect and Consolidate
|
|
68
|
+
|
|
69
|
+
After all 7 sub-agents return, merge their findings into a single report.
|
|
70
|
+
|
|
71
|
+
### Report Template
|
|
72
|
+
|
|
73
|
+
Write to `audits/system-audit-YYYY-MM-DD.md`:
|
|
74
|
+
|
|
75
|
+
```markdown
|
|
76
|
+
# Maintenance Sweep — YYYY-MM-DD
|
|
77
|
+
|
|
78
|
+
## Dashboard
|
|
79
|
+
|
|
80
|
+
| Area | Status | Issues |
|
|
81
|
+
|------|--------|--------|
|
|
82
|
+
| agnix Lint | <OK/WARN/FAIL> | <count> |
|
|
83
|
+
| Inventory | <OK/WARN/FAIL> | <count> |
|
|
84
|
+
| Bibliography & Projects | <OK/WARN/FAIL> | <count> |
|
|
85
|
+
| Conventions | <OK/WARN/FAIL> | <count> |
|
|
86
|
+
| Documentation | <OK/WARN/FAIL> | <count> |
|
|
87
|
+
| Ecosystem Health | <OK/WARN/FAIL> | <count> |
|
|
88
|
+
| Skill Quality & Overlap | <OK/WARN/FAIL> | <count> |
|
|
89
|
+
| Santi Repo Health | <OK/WARN/FAIL> | <count> |
|
|
90
|
+
|
|
91
|
+
## agnix Lint
|
|
92
|
+
<Phase 0 results: error count, warning count, any specific errors>
|
|
93
|
+
|
|
94
|
+
## Inventory Audit
|
|
95
|
+
<Sub-agent 1 findings>
|
|
96
|
+
|
|
97
|
+
## Bibliography & Project Hygiene
|
|
98
|
+
<Sub-agent 2 findings>
|
|
99
|
+
|
|
100
|
+
## Convention Compliance
|
|
101
|
+
<Sub-agent 3 findings>
|
|
102
|
+
|
|
103
|
+
## Documentation Freshness
|
|
104
|
+
<Sub-agent 4 findings>
|
|
105
|
+
|
|
106
|
+
## Ecosystem Health
|
|
107
|
+
<Sub-agent 5 findings>
|
|
108
|
+
|
|
109
|
+
## Skill Quality & Cross-Component Overlap
|
|
110
|
+
<Sub-agent 6 findings>
|
|
111
|
+
|
|
112
|
+
## Santi Repo Health
|
|
113
|
+
<Sub-agent 7 findings>
|
|
114
|
+
|
|
115
|
+
## Recommended Actions
|
|
116
|
+
<Prioritised list of things to fix, grouped by effort level>
|
|
117
|
+
|
|
118
|
+
### Quick Fixes (< 5 min each)
|
|
119
|
+
- ...
|
|
120
|
+
|
|
121
|
+
### Medium Effort (5–30 min)
|
|
122
|
+
- ...
|
|
123
|
+
|
|
124
|
+
### Larger Tasks (> 30 min)
|
|
125
|
+
- ...
|
|
126
|
+
```
|
|
127
|
+
|
|
128
|
+
---
|
|
129
|
+
|
|
130
|
+
## Phase 3: Present
|
|
131
|
+
|
|
132
|
+
Show the user:
|
|
133
|
+
1. The dashboard table
|
|
134
|
+
2. Any FAIL-status areas with specifics
|
|
135
|
+
3. The quick fixes list
|
|
136
|
+
4. Ask if he wants to address any issues now
|
|
137
|
+
|
|
138
|
+
---
|
|
139
|
+
|
|
140
|
+
## Error Handling
|
|
141
|
+
|
|
142
|
+
- **Sub-agent timeout:** If a sub-agent doesn't return, note "timed out" in the report and continue with the others.
|
|
143
|
+
- **Missing directories:** If a category folder is empty or doesn't exist, note "no projects found" rather than erroring.
|
|
144
|
+
- **Permission issues:** If files can't be read, note "access denied" and continue.
|
|
145
|
+
|
|
146
|
+
## Integration with Other Skills
|
|
147
|
+
|
|
148
|
+
| Skill | Relationship |
|
|
149
|
+
|-------|-------------|
|
|
150
|
+
| `/bib-validate` | Run on projects flagged by the Bibliography Hygiene sub-agent |
|
|
151
|
+
| `/audit-project-research` | Complements Convention Compliance with deeper per-project checks |
|
|
152
|
+
| `/update-project-doc` | Fix documentation staleness found by Documentation Freshness |
|
|
153
|
+
| `/sync-permissions` | Fix symlink issues found by Inventory Auditor |
|
|
154
|
+
| `/atlas-review` | Full cross-system audit (local + vault + Zotero + pipeline) — deeper than this sweep |
|
|
155
|
+
| `/insights-deck` | Maintenance findings can feed into system insights presentations |
|
|
156
|
+
| `/audit-doc santi` | Dedicated deep audit for santi-repo — Sub-agent 7 is a quick health check; the audit skill is the full version |
|
|
157
|
+
| `/sync-santi-repo` | Fix freshness issues found by Sub-agent 7 |
|
|
@@ -0,0 +1,294 @@
|
|
|
1
|
+
# System Audit Sub-Agent Prompts
|
|
2
|
+
|
|
3
|
+
> Full prompt templates for the 6 parallel sub-agents dispatched in Phase 1.
|
|
4
|
+
> Referenced from `SKILL.md` — do not edit prompts here without updating the parent.
|
|
5
|
+
|
|
6
|
+
## Shared Context (prepend to all prompts)
|
|
7
|
+
|
|
8
|
+
```
|
|
9
|
+
Task Management root: $TM/
|
|
10
|
+
Global Claude config: ~/.claude/
|
|
11
|
+
Project index: .context/projects/_index.md
|
|
12
|
+
Research projects root: $RESEARCH_ROOT/
|
|
13
|
+
Research project categories (subdirectories of the root above):
|
|
14
|
+
- Category A/
|
|
15
|
+
- Category B/
|
|
16
|
+
- Category C/
|
|
17
|
+
- Category D/
|
|
18
|
+
- Category E/
|
|
19
|
+
- Category F/
|
|
20
|
+
- Category G/
|
|
21
|
+
Each category contains individual project directories.
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
## Sub-Agent 1: Inventory Auditor
|
|
25
|
+
|
|
26
|
+
**Prompt:**
|
|
27
|
+
```
|
|
28
|
+
Audit the Task Management system inventory. Check:
|
|
29
|
+
|
|
30
|
+
1. **Skill count:** Count directories in skills/ that contain a SKILL.md (exclude .DS_Store, shared/). Compare against documented count in CLAUDE.md, README.md, docs/system.md, docs/skills.md.
|
|
31
|
+
2. **Hook count:** Count .sh files in hooks/ (exclude .DS_Store). Compare against documented count in CLAUDE.md, README.md, docs/system.md, docs/hooks.md.
|
|
32
|
+
3. **Agent count:** Count .md files in .claude/agents/. Compare against documented count.
|
|
33
|
+
4. **Rule count:** Count .md files in .claude/rules/. Compare against documented count.
|
|
34
|
+
5. **Symlink health:** Verify these symlinks resolve correctly:
|
|
35
|
+
- ~/.claude/skills/ → Task Management/skills/
|
|
36
|
+
- ~/.claude/agents/ → Task Management/.claude/agents/
|
|
37
|
+
- ~/.claude/rules/ → Task Management/.claude/rules/
|
|
38
|
+
- ~/.claude/hooks/ → Task Management/hooks/
|
|
39
|
+
- ~/.claude/settings.json → Task Management/.claude/settings.json
|
|
40
|
+
- ~/.claude/CLAUDE.md → Task Management/GLOBAL-CLAUDE.md
|
|
41
|
+
- ~/.claude/statusline-command.sh → Task Management/.claude/statusline-command.sh
|
|
42
|
+
6. **MCP server tool count:** The MCP server in packages/mcp-desktop/server.py registers tools as `skill-<name>` and `agent-<name>`. Count the cached skills and agents it discovers (read the discovery functions in server.py). Compare against actual skill/agent counts.
|
|
43
|
+
7. **Undocumented items:** Any skills/hooks/agents/rules that exist on disk but aren't listed in their respective docs file (docs/skills.md, docs/hooks.md, docs/agents.md, docs/rules.md).
|
|
44
|
+
8. **MCP server alignment:** Compare MCP servers between Claude Code (.mcp.json in project root) and Claude Desktop (~/Library/Application Support/Claude/claude_desktop_config.json). Check:
|
|
45
|
+
- Servers present in both configs use the same name for the same service
|
|
46
|
+
- Servers that should be in both are not missing from either (bibliography, context7)
|
|
47
|
+
- Desktop-only servers (filesystem, skills-server) are documented
|
|
48
|
+
- No stale/removed servers remain in either config
|
|
49
|
+
- Report a side-by-side table: Server | Code | Desktop | Status
|
|
50
|
+
|
|
51
|
+
Return findings as markdown with sections for each check, using checkmarks for pass and warnings for mismatches.
|
|
52
|
+
```
|
|
53
|
+
|
|
54
|
+
## Sub-Agent 2: Bibliography & Project Hygiene
|
|
55
|
+
|
|
56
|
+
**Prompt:**
|
|
57
|
+
```
|
|
58
|
+
Quick scan of bibliography files and project health across the user's research projects. Check:
|
|
59
|
+
|
|
60
|
+
1. **Find all .bib files** under the research projects root:
|
|
61
|
+
$RESEARCH_ROOT/
|
|
62
|
+
Categories: Category A, Category B, Category C, Category D, Category E, Category F, Category G.
|
|
63
|
+
Search each project directory and its paper/ subdirectory (2 levels deep from category).
|
|
64
|
+
Skip research/scout/ (tooling, not a research project — now lives in Task Management).
|
|
65
|
+
|
|
66
|
+
2. For each .bib file found:
|
|
67
|
+
- Count entries (grep for @article, @inproceedings, @book, @misc, etc.)
|
|
68
|
+
- Check naming convention (should be references.bib or <project>.bib)
|
|
69
|
+
- Spot-check 3 keys for BBT format (AuthorYYYY-xx pattern)
|
|
70
|
+
- Flag any obvious issues (empty files, very large files >500 entries)
|
|
71
|
+
|
|
72
|
+
3. **MEMORY.md presence:** For each project, check if a MEMORY.md exists in the project root. Projects that have been actively worked on should have one.
|
|
73
|
+
|
|
74
|
+
4. **Summary table:** Project | Category | Bib file | Entry count | Naming OK | MEMORY.md
|
|
75
|
+
|
|
76
|
+
Do NOT do a full validation — that's what /bib-validate is for. Just flag projects that should be audited in detail.
|
|
77
|
+
```
|
|
78
|
+
|
|
79
|
+
## Sub-Agent 3: Convention Compliance
|
|
80
|
+
|
|
81
|
+
**Prompt:**
|
|
82
|
+
```
|
|
83
|
+
Check convention compliance across the user's research projects. Scan each project directory under:
|
|
84
|
+
$RESEARCH_ROOT/
|
|
85
|
+
Categories: Category A, Category B, Category C, Category D, Category E, Category F, Category G.
|
|
86
|
+
Skip research/scout/ (tooling, not a research project).
|
|
87
|
+
|
|
88
|
+
For each project, check:
|
|
89
|
+
|
|
90
|
+
1. **LaTeX output directory:** If .tex files exist (in project root or paper/), does an out/ directory exist? Is there a .latexmkrc file?
|
|
91
|
+
2. **Overleaf separation:** If a paper/ directory exists, is it a symlink? Check that paper/ contains ONLY LaTeX source files (.tex, .sty, .cls, .bst, .bbl, .bib, .latexmkrc, out/) and figures (.pdf, .png, .eps, .jpg, .svg, .tikz). Flag any code files (.py, .R, .jl, .sh, .ipynb), data files (.csv, .xlsx, .json, .dta, .parquet), or other non-LaTeX artifacts found inside paper/.
|
|
92
|
+
3. **Hook executability:** All .sh files in $TM/hooks/ should be executable (chmod +x).
|
|
93
|
+
4. **Python environment:** If .py files exist in the project, is there a pyproject.toml? Any sign of bare pip usage (requirements.txt without pyproject.toml, pip in scripts)?
|
|
94
|
+
5. **CLAUDE.md presence:** Does each project have a CLAUDE.md?
|
|
95
|
+
6. **Git health:** Is the project a git repo? Any uncommitted changes? Any untracked files that should probably be tracked?
|
|
96
|
+
|
|
97
|
+
Report per-project compliance as a table:
|
|
98
|
+
Project | Category | LaTeX/out | Overleaf sep. | Python env | CLAUDE.md | Git
|
|
99
|
+
|
|
100
|
+
Only scan top-level project directories — don't recurse deeply into subdirectories.
|
|
101
|
+
```
|
|
102
|
+
|
|
103
|
+
## Sub-Agent 4: Documentation Freshness
|
|
104
|
+
|
|
105
|
+
**Prompt:**
|
|
106
|
+
```
|
|
107
|
+
Check documentation freshness in the Task Management system at:
|
|
108
|
+
$TM/
|
|
109
|
+
|
|
110
|
+
Audit:
|
|
111
|
+
|
|
112
|
+
1. **Stale counts in docs:** Check these files for numeric claims about skills, hooks, agents, rules, and compare against actual counts on disk:
|
|
113
|
+
- CLAUDE.md: skill count, hook count, agent count, rule count
|
|
114
|
+
- README.md: same counts
|
|
115
|
+
- docs/system.md: same counts, file tree accuracy
|
|
116
|
+
- docs/skills.md: total skill count, category counts, skill catalogue completeness
|
|
117
|
+
|
|
118
|
+
2. **Broken internal links:** Check markdown links in CLAUDE.md, README.md, docs/system.md, docs/skills.md, docs/hooks.md, docs/agents.md, docs/rules.md — do the referenced files actually exist?
|
|
119
|
+
|
|
120
|
+
3. **Outdated statuses in .context/:**
|
|
121
|
+
- current-focus.md: when was it last modified? (check file stat or git log)
|
|
122
|
+
- projects/_index.md: compare project list against actual directories in the research projects root. Any projects on disk but missing from the index? Any entries in the index for projects that don't exist?
|
|
123
|
+
|
|
124
|
+
4. **Old session logs:** What's the most recent file in log/? How many logs exist? Any very old logs (>90 days) that could be archived?
|
|
125
|
+
|
|
126
|
+
5. **Plan staleness:** Any plans in log/plans/ more than 30 days old that reference incomplete work?
|
|
127
|
+
|
|
128
|
+
6. **GLOBAL-CLAUDE.md vs CLAUDE.md consistency:** Check that GLOBAL-CLAUDE.md (the slim pointer file) doesn't duplicate detailed content from CLAUDE.md. It should contain only identity, pointers, and global policies.
|
|
129
|
+
|
|
130
|
+
Return as markdown with severity levels: OK, STALE, BROKEN.
|
|
131
|
+
```
|
|
132
|
+
|
|
133
|
+
## Sub-Agent 5: Ecosystem Health
|
|
134
|
+
|
|
135
|
+
**Prompt:**
|
|
136
|
+
```
|
|
137
|
+
Check ecosystem health for the Task Management system at:
|
|
138
|
+
$TM/
|
|
139
|
+
|
|
140
|
+
Run these 4 checks:
|
|
141
|
+
|
|
142
|
+
1. **MCP server health:** Find all mcp__*__ tool references in skills and agents:
|
|
143
|
+
grep -rohn "mcp__[A-Za-z0-9_-]*__[A-Za-z0-9_]*" skills/ .claude/agents/ --include="*.md" | sort -u
|
|
144
|
+
|
|
145
|
+
Extract server names (the part between mcp__ and the second __).
|
|
146
|
+
|
|
147
|
+
Then get configured MCP servers from both configs using jq:
|
|
148
|
+
cat .mcp.json | jq -r '.mcpServers // {} | keys[]' 2>/dev/null | sort -u
|
|
149
|
+
cat ~/Library/Application\ Support/Claude/claude_desktop_config.json | jq -r '.mcpServers // {} | keys[]' 2>/dev/null | sort -u
|
|
150
|
+
|
|
151
|
+
Also check for disabled servers:
|
|
152
|
+
cat .mcp.json | jq -r '.disabledMcpServers // [] | .[]' 2>/dev/null
|
|
153
|
+
|
|
154
|
+
Flag: CRITICAL if a referenced server is not configured anywhere (phantom tool).
|
|
155
|
+
Flag: WARNING if a server is configured but also in disabledMcpServers.
|
|
156
|
+
Known aliases: "claude_ai_vault" is a Claude.ai managed integration (not in local config — OK).
|
|
157
|
+
Known servers: bibliography, context7, claude_ai_vault, claude_ai_Gamma.
|
|
158
|
+
|
|
159
|
+
2. **Staleness detection:** Find components not modified in 90+ days across ALL types:
|
|
160
|
+
find skills/ -name "SKILL.md" -not -path "*/shared/*" -mtime +90 -type f
|
|
161
|
+
find .claude/agents/ -name "*.md" -mtime +90 -type f
|
|
162
|
+
find hooks/ \( -name "*.sh" -o -name "*.py" \) -mtime +90 -type f
|
|
163
|
+
find .claude/rules/ -name "*.md" -mtime +90 -type f
|
|
164
|
+
find .scripts/ \( -name "*.py" -o -name "*.sh" \) -mtime +90 -type f
|
|
165
|
+
|
|
166
|
+
For each stale file, check if it's still referenced by other active components.
|
|
167
|
+
Flag: WARNING if stale AND referenced (may be outdated).
|
|
168
|
+
Flag: INFO if stale AND not referenced (candidate for archive).
|
|
169
|
+
Flag: OK if still within 90 days.
|
|
170
|
+
|
|
171
|
+
3. **Orphan detection:** Find components with zero external references across ALL types.
|
|
172
|
+
For each skill directory in skills/:
|
|
173
|
+
- Read first 10 lines to check for "user-invocable: true" — if present, skip (exempt)
|
|
174
|
+
- Search for the skill name across all other skills, agents, hooks, rules, CLAUDE.md, and docs/
|
|
175
|
+
- If zero references found: flag as INFO (dead code, candidate for archive)
|
|
176
|
+
For each hook in hooks/:
|
|
177
|
+
- Check if registered in .claude/settings.json (unregistered hook = orphan)
|
|
178
|
+
- Search for the hook filename across skills, agents, docs/hooks.md
|
|
179
|
+
- If not registered AND not documented: flag as INFO
|
|
180
|
+
For each agent in .claude/agents/:
|
|
181
|
+
- Search for the agent name across skills, CLAUDE.md, docs/
|
|
182
|
+
- If zero references found: flag as INFO
|
|
183
|
+
For each rule in .claude/rules/:
|
|
184
|
+
- Search for the rule filename across CLAUDE.md, docs/, skills/
|
|
185
|
+
- Rules are auto-loaded so they're never truly orphaned, but flag if undocumented in docs/rules.md
|
|
186
|
+
For each script in .scripts/:
|
|
187
|
+
- Search for the script name across skills, hooks, CLAUDE.md, docs/
|
|
188
|
+
- If zero references found: flag as INFO
|
|
189
|
+
|
|
190
|
+
4. **CLI tool availability:** Verify these tools are installed and accessible:
|
|
191
|
+
- gh (GitHub CLI)
|
|
192
|
+
- latexmk (LaTeX compilation)
|
|
193
|
+
- uv (Python package manager)
|
|
194
|
+
- jq (JSON processor)
|
|
195
|
+
- gemini (Gemini CLI for council mode)
|
|
196
|
+
- gemini (Gemini CLI for audits and council mode)
|
|
197
|
+
- node (Node.js for MCP servers)
|
|
198
|
+
For each: run "which [tool]" and "[tool] --version" (or equivalent).
|
|
199
|
+
Flag: CRITICAL if a tool referenced in CLAUDE.md as required is not installed.
|
|
200
|
+
Flag: WARNING if installed but fails to respond.
|
|
201
|
+
Flag: OK if installed and responds.
|
|
202
|
+
|
|
203
|
+
Return findings as markdown with a summary table:
|
|
204
|
+
| Check | OK | Warning | Critical |
|
|
205
|
+
Then list each finding with severity, file path, and brief description.
|
|
206
|
+
Keep output under 500 words — write details to /tmp/system-audit/sa-5.md if needed.
|
|
207
|
+
```
|
|
208
|
+
|
|
209
|
+
## Sub-Agent 6: Skill Quality & Cross-Component Overlap
|
|
210
|
+
|
|
211
|
+
**Prompt:**
|
|
212
|
+
```
|
|
213
|
+
Evaluate skill quality and cross-component overlap for the Task Management system at:
|
|
214
|
+
$TM/
|
|
215
|
+
|
|
216
|
+
## Part A: Skill Quality
|
|
217
|
+
|
|
218
|
+
For each skill directory in skills/ (excluding shared/):
|
|
219
|
+
|
|
220
|
+
1. Read the SKILL.md frontmatter (name, description)
|
|
221
|
+
2. Check file size (flag >300 lines as potentially bloated)
|
|
222
|
+
3. Check modification date (flag >90 days as potentially stale)
|
|
223
|
+
4. Spot-check for content overlap with other skills (read first 20 lines of each, look for similar descriptions or duplicate trigger phrases)
|
|
224
|
+
5. Check for broken references (references to files in references/ or shared/ that don't exist)
|
|
225
|
+
|
|
226
|
+
For each skill, assign a verdict:
|
|
227
|
+
- **OK** — healthy, no issues
|
|
228
|
+
- **BLOATED** — >300 lines, may need extraction to references/
|
|
229
|
+
- **STALE** — not modified in 90+ days AND not referenced by other components
|
|
230
|
+
- **OVERLAP** — significant description/trigger overlap with another skill (name it)
|
|
231
|
+
- **BROKEN** — references missing files
|
|
232
|
+
|
|
233
|
+
Return a summary table:
|
|
234
|
+
| Skill | Lines | Last Modified | Verdict | Notes |
|
|
235
|
+
|
|
236
|
+
## Part B: Cross-Component Overlap
|
|
237
|
+
|
|
238
|
+
Check for functional overlap ACROSS component types (skills, hooks, agents, rules, .scripts/). Read the description/purpose of each component:
|
|
239
|
+
- skills/*/SKILL.md (frontmatter description)
|
|
240
|
+
- hooks/*.sh and hooks/*.py (header comment block)
|
|
241
|
+
- .claude/agents/*.md (first 10 lines for purpose)
|
|
242
|
+
- .claude/rules/*.md (first 10 lines for principle)
|
|
243
|
+
- .scripts/*.py and .scripts/*.sh (header comment block)
|
|
244
|
+
|
|
245
|
+
Flag cases where two different component types appear to do the same thing or enforce the same constraint. Common overlap patterns to check:
|
|
246
|
+
- A hook gating something a rule also describes (e.g., both blocking bare python)
|
|
247
|
+
- A skill doing what a .scripts/ CLI tool also does
|
|
248
|
+
- An agent's workflow duplicating a skill's workflow
|
|
249
|
+
- A rule describing a convention that a hook already enforces automatically
|
|
250
|
+
|
|
251
|
+
For each overlap found, assess:
|
|
252
|
+
- **Complementary** — both are needed (e.g., hook enforces at runtime, rule instructs at planning time)
|
|
253
|
+
- **Redundant** — one could be removed without loss
|
|
254
|
+
- **Conflicting** — they give contradictory instructions
|
|
255
|
+
|
|
256
|
+
Return a cross-component table:
|
|
257
|
+
| Component A | Component B | Type | Assessment | Notes |
|
|
258
|
+
|
|
259
|
+
Only flag genuine overlaps — a rule mentioning "use uv" and a hook enforcing "use uv" is complementary (expected), not redundant. Focus on cases where work is truly duplicated or instructions conflict.
|
|
260
|
+
|
|
261
|
+
Keep total output under 500 words. Write details to /tmp/system-audit/sa-6.md if needed.
|
|
262
|
+
```
|
|
263
|
+
|
|
264
|
+
## Sub-Agent 7: Santi Repo Health
|
|
265
|
+
|
|
266
|
+
**Prompt:**
|
|
267
|
+
```
|
|
268
|
+
Quick health check of Santiago's starter kit at:
|
|
269
|
+
$TM/public/santi-repo/
|
|
270
|
+
|
|
271
|
+
This is a downstream copy of skills/rules for Santiago. Check:
|
|
272
|
+
|
|
273
|
+
1. **Skill count:** Count directories in santi-repo/skills/ that contain a SKILL.md. Compare against the count stated in README.md and ADAPTATION-NEEDED.md.
|
|
274
|
+
|
|
275
|
+
2. **Rule count:** Count .md files in santi-repo/rules/. Compare against the count stated in README.md.
|
|
276
|
+
|
|
277
|
+
3. **Skill freshness (sample):** Pick 5 random skills from santi-repo/skills/ and diff their SKILL.md against the upstream version in $TM/skills/. Flag any with substantive upstream changes not reflected in santi-repo (ignoring anonymisation differences like "the user" → "the user").
|
|
278
|
+
|
|
279
|
+
4. **Rule freshness:** For each rule in santi-repo/rules/, compare against the upstream version in $TM/.claude/rules/. Flag substantive differences (ignoring anonymisation).
|
|
280
|
+
|
|
281
|
+
5. **Anonymisation spot-check:** Grep all .md files in santi-repo/ for leaked personal details:
|
|
282
|
+
- "the user" (case-sensitive, excluding "Made by the user" in README.md)
|
|
283
|
+
- "$HOME" (macOS path)
|
|
284
|
+
- "Warwick", "Southampton", "Bath", "LSE" (institution names)
|
|
285
|
+
Exclude GitHub URLs containing "user" (intentional).
|
|
286
|
+
|
|
287
|
+
6. **README accuracy:** Does the skill count in README.md match the actual count? Does the rule count match?
|
|
288
|
+
|
|
289
|
+
7. **Install script:** Does install.sh exist and contain no macOS-specific commands (sed -i '', open, brew without apt)?
|
|
290
|
+
|
|
291
|
+
Return a summary table:
|
|
292
|
+
| Check | Status | Notes |
|
|
293
|
+
Then list any issues found. Keep output under 300 words.
|
|
294
|
+
```
|
|
@@ -0,0 +1,131 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: task-management
|
|
3
|
+
description: "Use when you need help with daily planning, weekly reviews, meeting actions, or vault task queries."
|
|
4
|
+
allowed-tools: Read, Write, Edit, AskUserQuestion
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# the user's Task Management System
|
|
8
|
+
|
|
9
|
+
## MCP Pre-Check
|
|
10
|
+
|
|
11
|
+
Before any vault-dependent workflow, probe taskflow MCP availability with a lightweight search. If unavailable, skip vault queries and offer local-only fallbacks per [`shared/mcp-degradation.md`](../shared/mcp-degradation.md).
|
|
12
|
+
|
|
13
|
+
## System Overview
|
|
14
|
+
|
|
15
|
+
This is a hybrid vault + local context library system. Before taking action:
|
|
16
|
+
|
|
17
|
+
1. **Read context files** in `.context/` to understand current state
|
|
18
|
+
2. **Query vault** for dynamic task data
|
|
19
|
+
3. **Ask questions** before dumping lists (the user prefers this)
|
|
20
|
+
4. **Update context** after sessions
|
|
21
|
+
|
|
22
|
+
## Key Locations
|
|
23
|
+
|
|
24
|
+
### Context Library (`.context/`)
|
|
25
|
+
- `profile.md` — Who the user is, roles, research areas
|
|
26
|
+
- `current-focus.md` — What they're working on NOW (update this!)
|
|
27
|
+
- `projects/_index.md` — All active projects
|
|
28
|
+
- `workflows/` — How to help with specific tasks
|
|
29
|
+
- `preferences/` — Priority definitions, naming conventions
|
|
30
|
+
- `people/` — Supervisors and collaborators
|
|
31
|
+
|
|
32
|
+
### Vaults
|
|
33
|
+
- **Tasks Tracker**: `collection://YOUR-TASKS-DATABASE-ID-HERE`
|
|
34
|
+
- **Research Pipeline**: `collection://YOUR-PIPELINE-DATABASE-ID-HERE`
|
|
35
|
+
|
|
36
|
+
## Workflows
|
|
37
|
+
|
|
38
|
+
### Daily Planning
|
|
39
|
+
|
|
40
|
+
When the user asks to plan their day:
|
|
41
|
+
|
|
42
|
+
1. **Read** `.context/current-focus.md` and `.context/workflows/daily-review.md`
|
|
43
|
+
2. **Query vault** for:
|
|
44
|
+
- Overdue tasks (Due date < today, Status != Done)
|
|
45
|
+
- Due today (Due date = today)
|
|
46
|
+
- High priority items
|
|
47
|
+
3. **Ask orientation questions**:
|
|
48
|
+
- "How's your energy today?"
|
|
49
|
+
- "Any fixed commitments?"
|
|
50
|
+
- "What were you working on yesterday?"
|
|
51
|
+
4. **Help prioritise** based on answers
|
|
52
|
+
5. **Update** `current-focus.md` at end of session
|
|
53
|
+
|
|
54
|
+
### Meeting Action Extraction
|
|
55
|
+
|
|
56
|
+
When the user asks to extract actions from a meeting:
|
|
57
|
+
|
|
58
|
+
1. **Read** `.context/workflows/meeting-actions.md`
|
|
59
|
+
2. **Find the meeting transcript** in vault (pages starting with @Date)
|
|
60
|
+
3. **Extract action items** looking for:
|
|
61
|
+
- "I'll...", "I need to...", "I should..."
|
|
62
|
+
- "Can you...", "Please..."
|
|
63
|
+
- "We agreed to...", "Next step is..."
|
|
64
|
+
4. **Create tasks in vault** with full context:
|
|
65
|
+
- Task name (action verb + object)
|
|
66
|
+
- Project (infer from context)
|
|
67
|
+
- Source: "Meeting"
|
|
68
|
+
- Due date (if mentioned)
|
|
69
|
+
- Description (meeting context)
|
|
70
|
+
|
|
71
|
+
### Weekly Review
|
|
72
|
+
|
|
73
|
+
When the user asks for weekly review:
|
|
74
|
+
|
|
75
|
+
1. **Read** `.context/workflows/weekly-review.md`
|
|
76
|
+
2. **Query vault** for:
|
|
77
|
+
- Completed tasks this week
|
|
78
|
+
- Overdue tasks
|
|
79
|
+
- Upcoming deadlines
|
|
80
|
+
3. **Guide through reflection**:
|
|
81
|
+
- What got done?
|
|
82
|
+
- What didn't happen?
|
|
83
|
+
- What emerged?
|
|
84
|
+
4. **Help plan next week's Big 3**
|
|
85
|
+
5. **Update** `current-focus.md` and `projects/_index.md`
|
|
86
|
+
|
|
87
|
+
### Task Creation
|
|
88
|
+
|
|
89
|
+
When creating tasks in vault:
|
|
90
|
+
|
|
91
|
+
**Required fields:**
|
|
92
|
+
- Task name (action verb + specific object)
|
|
93
|
+
- Status: "Not started"
|
|
94
|
+
|
|
95
|
+
**Recommended fields:**
|
|
96
|
+
- Project: Match to existing project
|
|
97
|
+
- Source: Meeting, Email, Supervisor request, Self-initiated, etc.
|
|
98
|
+
- Priority: High/Medium/Low (see `.context/preferences/priorities.md`)
|
|
99
|
+
- Due date: If known
|
|
100
|
+
- Task type: 📝 Writing, 📚 Reading, 🔬 Research, 📅 Meeting, 📋 Admin, 📧 Communication
|
|
101
|
+
|
|
102
|
+
### Research Pipeline
|
|
103
|
+
|
|
104
|
+
For paper-related queries:
|
|
105
|
+
|
|
106
|
+
1. **Query Research Pipeline database** for paper status
|
|
107
|
+
2. **Stages**: Idea → Literature Review → Drafting → Submitted → R&R → Published
|
|
108
|
+
3. **Link tasks to papers** via Project property
|
|
109
|
+
|
|
110
|
+
## the user's Preferences
|
|
111
|
+
|
|
112
|
+
- **Questions over lists** — Don't dump task lists, ask what to focus on
|
|
113
|
+
- **Full context for actions** — Include who, what, why, when in task descriptions
|
|
114
|
+
- **Flexible/reactive style** — They work on what feels right, help them navigate
|
|
115
|
+
- **Daily review preferred** — Short check-ins work better than big weekly sessions
|
|
116
|
+
- **multiple active projects** — Help manage cognitive load, don't add more
|
|
117
|
+
|
|
118
|
+
## Important Context
|
|
119
|
+
|
|
120
|
+
- PhD Year 1 at [University]
|
|
121
|
+
- Teaching
|
|
122
|
+
- 4 supervisors across institutions
|
|
123
|
+
- Research: [your research areas]
|
|
124
|
+
- Current papers: journal revision, [Project] theory, [Project]
|
|
125
|
+
|
|
126
|
+
## After Every Session
|
|
127
|
+
|
|
128
|
+
Update `.context/current-focus.md` with:
|
|
129
|
+
- What was worked on
|
|
130
|
+
- Where things were left off
|
|
131
|
+
- What's next
|