agentleFS
WolfgangrushWolfgangrush/ai-brain-uk/.claude/skills/wake/SKILL.md

wake

Skill1 starsChanged 3 months agoMITView on GitHub

Start-of-session state loader for UK AI Brain users. Runs 2-pass leak-check (Rule 1: same scope as retrospective — no internal-shorthand, no internal-paths, no personal-build references). Loads jurisdiction context so every session begins informed.

6 other projects use a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

9 rules. 0 are common, 9 are distinctive, and 0 are very specific to this project.

  • 0

    Common

    Most of the 6 edited versions we read keep these.

  • 9

    Distinctive

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    If either pass fails, display warning before proceeding.

    line 35
  2. Distinctive:

    Never reference user-home dot-directories or absolute paths from a developer's machine

    line 89
  3. Distinctive:

    Never use internal entity codes

    line 90
  4. Distinctive:

    Never reference external project-architecture names not tied to this firm

    line 91
  5. Distinctive:

    Never reference the publisher's personal builds or personal-vs-business markers

    line 92
  6. Distinctive:

    Does NOT read or write to MemPalace

    line 95
  7. Distinctive:

    Does NOT access personal diary or KG

    line 96
  8. Distinctive:

    Does NOT touch any other firm's directory

    line 97
  9. Distinctive:

    Does NOT modify any file (read-only state display)

    line 98

“Common” is measured: kept by at least 6 in 10 of the 6 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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

/wake — Start-of-Session State Loader (UK)

Loads the UK AI Brain's current state at session start. Displays readiness so the user knows exactly what's available before they begin work.

2-Pass Leak-Check (Rule 1 — execute FIRST, before displaying state)

Pass 1 — Internal-shorthand codes + internal paths

# Detect any 2-5 letter all-caps token (potential internal matter shorthand)
grep -rniE '\b[A-Z]{2,5}\b' --include="*.md" --include="*.json" --include="*.txt" . 2>/dev/null \
  | grep -vE '\b(USA|UK|EU|UAE|HC|SC|API|JSON|MIT|MCP|CSV|PDF|XML|HTML|HTTP|URL|ABN|TFN|GST|VAT|CEO|CFO|CIO|MD|QC|SC|JD|LLM|LLB|BSc|MBA|GDP|GDPR|CCPA|DPDP|AI|ML|NLP|CLI|IDE|SDK|README|CI|CD|PR|RFC|ETA|EOD|TBD|FYI|NB|AM|PM)\b'
# Detect references to user-home dot-directories (potential machine-internal paths)
grep -rniE '~/\.[a-z]+/' --include="*.md" --include="*.json" . 2>/dev/null

Expected: zero hits. Any hit = flag immediately. Do not proceed silently.

Pass 2 — External architecture references + personal-vs-business markers

# Detect references to external project-architecture names (extend this regex with your firm's internal terms)
grep -rniE 'YOUR_INTERNAL_ARCHITECTURE_PATTERN_HERE' --include="*.md" --include="*.json" . 2>/dev/null
# Detect personal-build references (extend with your firm's specific personal-vs-business markers if any)
grep -rniE 'YOUR_PERSONAL_VS_BUSINESS_MARKER_HERE' --include="*.md" --include="*.json" . 2>/dev/null

Expected: zero hits. Any hit = flag immediately.

Workflow

Step 1: Run 2-pass leak-check (above)

If either pass fails, display warning before proceeding.

Step 2: System state check

echo "Python: $(python3 --version 2>&1)"
echo "Package: $(pip show aibrain_uk 2>&1 | head -3)"
echo "Data dir: $(ls -la ~/.aibrain-uk/ 2>&1 | head -5)"
echo "Config: $(cat ~/.aibrain-uk/config.json 2>&1 | head -10)"

Step 3: Jurisdiction context

Display the UK-specific legal framework:

  • UK Supreme Court + EWCA (Court of Appeal of England and Wales) + High Court (King's Bench · Chancery · Family) + Court of Session (Scotland) + High Court of Justiciary (Scotland)
  • Statutes: CPR, SRA Code of Conduct, BSB Handbook, REUL Act 2023, UK GDPR, Data (Use and Access) Bill, Human Rights Act 1998, Companies Act 2006
  • Regulatory: SRA, BSB, CILEx, Law Society of Scotland, Law Society of Northern Ireland, ICO
  • Tax: Making Tax Digital (April 2026 for >£50k earners)

Step 4: Specialists available

#SpecialistStatus
🧠Receptionist (brain)READY
📂Matter ManagerREADY
📜Citation ClerkREADY
🏛️Court RegistrarREADY
✍️Drafting AssistantREADY
🛡️Compliance OfficerREADY
📅Deadline TrackerREADY

Step 5: Present readiness summary

Output Format

## 🇬🇧 UK AI Brain — Ready

🟢 Leak-check: PASS (Pass 1 clean · Pass 2 clean)

**System:**
- Python: [version]
- Package: aibrain_uk [version]
- Data: ~/.aibrain-uk/ [status]

**7 specialists online.**
**UK Supreme Court + EWCA + High Court + Court of Session mapped.**
**CPR · SRA Code · UK GDPR · REUL Act 2023 loaded.**

🧠 This firm LEARNS. Every session makes the next one smarter.
   Run `/retrospective` at session end to save what you learned.

---
What do you need today?

Anti-Pollution Rules (DO NOT BREAK)

  • Never reference user-home dot-directories or absolute paths from a developer's machine
  • Never use internal entity codes
  • Never reference external project-architecture names not tied to this firm
  • Never reference the publisher's personal builds or personal-vs-business markers

What this skill does NOT do

  • Does NOT read or write to MemPalace
  • Does NOT access personal diary or KG
  • Does NOT touch any other firm's directory
  • Does NOT modify any file (read-only state display)

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.