# Send Flatnotes + Tasks.md GitHub Audit to your agent
Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.
## Fast path
- Download the package from Yavira.
- Extract it into a folder your agent can access.
- Paste one of the prompts below and point your agent at the extracted folder.
## Suggested prompts
### New install

```text
I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete.
```
### Upgrade existing

```text
I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run.
```
## Machine-readable fields
```json
{
  "schemaVersion": "1.0",
  "item": {
    "slug": "flatnotes-tasksmd-github-audit",
    "name": "Flatnotes + Tasks.md GitHub Audit",
    "source": "tencent",
    "type": "skill",
    "category": "开发工具",
    "sourceUrl": "https://clawhub.ai/branexp/flatnotes-tasksmd-github-audit",
    "canonicalUrl": "https://clawhub.ai/branexp/flatnotes-tasksmd-github-audit",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadUrl": "/downloads/flatnotes-tasksmd-github-audit",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=flatnotes-tasksmd-github-audit",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "packageFormat": "ZIP package",
    "primaryDoc": "SKILL.md",
    "includedAssets": [
      "SKILL.md",
      "scripts/audit.mjs"
    ],
    "downloadMode": "redirect",
    "sourceHealth": {
      "source": "tencent",
      "slug": "flatnotes-tasksmd-github-audit",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-05-03T07:39:49.584Z",
      "expiresAt": "2026-05-10T07:39:49.584Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=flatnotes-tasksmd-github-audit",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=flatnotes-tasksmd-github-audit",
        "contentDisposition": "attachment; filename=\"flatnotes-tasksmd-github-audit-1.0.0.zip\"",
        "redirectLocation": null,
        "bodySnippet": null,
        "slug": "flatnotes-tasksmd-github-audit"
      },
      "scope": "item",
      "summary": "Item download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this item.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/flatnotes-tasksmd-github-audit"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    }
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/flatnotes-tasksmd-github-audit",
    "downloadUrl": "https://openagent3.xyz/downloads/flatnotes-tasksmd-github-audit",
    "agentUrl": "https://openagent3.xyz/skills/flatnotes-tasksmd-github-audit/agent",
    "manifestUrl": "https://openagent3.xyz/skills/flatnotes-tasksmd-github-audit/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/flatnotes-tasksmd-github-audit/agent.md"
  }
}
```
## Documentation

### Flatnotes + Tasks.md + GitHub Audit

Use this skill when Brandon asks to audit the Flatnotes/Tasks.md system for accuracy and ensure it’s up to date, using GitHub as the source of truth.

### Quick start

Run the bundled auditor (report-only):

node skills/flatnotes-tasksmd-github-audit/scripts/audit.mjs --since-days 30 --write

Outputs:

Markdown report: tmp/flatnotes-tasksmd-audit.md
JSON report: tmp/flatnotes-tasksmd-audit.json

If gh is not authenticated, the audit still runs but GitHub checks will be marked as SKIPPED_GITHUB.

### Data sources (defaults)

Tasks.md root: /home/ds/.config/appdata/tasksmd/tasks
Flatnotes root: /home/ds/.config/appdata/flatnotes/data
Flatnotes “system notes” mirror in workspace: notes/resources/flatnotes-system/

Override via env vars:

TASKS_ROOT
FLATNOTES_ROOT

### A) Board hygiene (Tasks.md)

Global lanes exist: 00 Inbox, 05 Backlog, 10 Next, 20 Doing, 30 Blocked, 40 Waiting, 90 Done.
Lane rule preference: prio-p2 lives in 05 Backlog by default (no prio-p2 in 10 Next).
Doing WIP ≤ 3 (preference).
Cards should be consistently formatted (Outcome/Steps) and tagged (proj/prio/eff/type).
Blocked cards include Unblock:.
Project cards include a Flatnotes pointer (Flatnotes: ...).

### B) Project completeness (Flatnotes)

For each active project in SYS Workspace - Project Registry:

Required project notes exist:

PJT <slug> - 00 Overview
PJT <slug> - 10 Research
PJT <slug> - 20 Plan
PJT <slug> - 90 Log


Hub note has:

Current status (1–3 bullets)
Links section with repo + Tasks filter
Decisions section linking relevant ADR(s)

### C) GitHub truth reconciliation (GitHub = source of truth)

For each project repo in the registry:

Open PRs should have a corresponding Tasks card (Doing/Next/Blocked/Waiting) OR an explicit reason why not.
Recently merged PRs should be reflected somewhere:

preferably a short note in the project log (PJT <slug> - 90 Log) + hub status update, or
a Done card with PR link.
(Audit treats either as reconciled; it may warn if a merged PR is only on a Done card but missing from the log.)


Done cards should ideally include a PR link when work was shipped via PR.

### Workflow (recommended)

Parse registry

Read SYS Workspace - Project Registry from Flatnotes.
Extract: slug, status, Tasks tag, GitHub repo URL.



Scan Tasks.md

Index cards by lane and by proj-* tag.
Flag lane rule violations (prio-p2 in Next, etc.).
Flag cards missing Flatnotes pointer.



Scan Flatnotes

Check required project notes exist.
Check hub Decisions section links ADR notes.



GitHub cross-check

Use gh:

gh pr list --state open --json ...
gh pr list --state merged --search "merged:>=<date>" --json ... (or equivalent)


Try to match PRs ↔ Tasks cards using:

PR URL in card content
PR number
Title substring heuristic





Report

Output: summary + per-project drift list + fix plan.

### Applying fixes (guardrails)

Default is report-only.

If Brandon explicitly asks to apply fixes:

Safe auto-fixes allowed:

create missing Flatnotes notes (10 Research, etc.) using existing templates
add missing ADR links to hub Decisions section
move prio-p2 from Next → Backlog
add missing Flatnotes pointers to Tasks cards


Anything that renames files or deletes content: ask first.

### Bundled code

scripts/audit.mjs — generates the report (Markdown + JSON). If needed, patch it rather than rewriting.
## Trust
- Source: tencent
- Verification: Indexed source record
- Publisher: branexp
- Version: 1.0.0
## Source health
- Status: healthy
- Item download looks usable.
- Yavira can redirect you to the upstream package for this item.
- Health scope: item
- Reason: direct_download_ok
- Checked at: 2026-05-03T07:39:49.584Z
- Expires at: 2026-05-10T07:39:49.584Z
- Recommended action: Download for OpenClaw
## Links
- [Detail page](https://openagent3.xyz/skills/flatnotes-tasksmd-github-audit)
- [Send to Agent page](https://openagent3.xyz/skills/flatnotes-tasksmd-github-audit/agent)
- [JSON manifest](https://openagent3.xyz/skills/flatnotes-tasksmd-github-audit/agent.json)
- [Markdown brief](https://openagent3.xyz/skills/flatnotes-tasksmd-github-audit/agent.md)
- [Download page](https://openagent3.xyz/downloads/flatnotes-tasksmd-github-audit)