Oracle Cheatsheet logo

Oracle Cheatsheet

Organization
Soul-Brews-Studio
oracle-cheatsheet

Generate a copy-paste cheat sheet from the current session — commands used, traps hit, shortcuts discovered. Style: icon sections, code blocks, quick-ref tables, trap warnings. Use when user says 'cheatsheet', 'cheat sheet', 'สูตรโกง', 'รวมคำสั่ง', 'command reference', or wants a reusable command summary from what just happened.

Overview

PublisherSoul-Brews-Studio
Repositoryarra-oracle-skills-cli
Skill nameoracle-cheatsheet
Stars
125
Forks
59
Bundled files
Instructions only
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • Self-contained

    Everything the model needs lives in the instructions — no extra files to sync.

  • Open source

    Published by Soul-Brews-Studio on GitHub. Read the source before you install it.

Installation

Install the Oracle Cheatsheet AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/Soul-Brews-Studio/arra-oracle-skills-cli/tree/alpha/skills/oracle-cheatsheet
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/Soul-Brews-Studio/arra-oracle-skills-cli.git /tmp/arra-oracle-skills-cli
mkdir -p .claude/skills
cp -r /tmp/arra-oracle-skills-cli/skills/oracle-cheatsheet .claude/skills/oracle-cheatsheet
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Oracle Cheatsheet in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Oracle Cheatsheet on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Oracle Cheatsheet is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

/oracle-cheatsheet — Session Command Cheat Sheet Generator

สรุปทุกคำสั่งที่ใช้จริงใน session นี้เป็น cheat sheet — copy-paste ได้เลย ส่งให้เพื่อนได้เลย

When to invoke

  • User says "cheatsheet", "cheat sheet", "สูตรโกง", "รวมคำสั่ง", "command reference"
  • หลังจบ session ยาว ๆ อยากรวมคำสั่งไว้ที่เดียว
  • อยากสรุปให้เพื่อนหรือทีม

Topic selection (สำคัญ — ไม่ต้องถาม)

เอาจากบริบทล่าสุดที่คุยกันอยู่เลย ไม่ต้องถาม user ว่าจะทำเรื่องอะไร เพราะ cheat sheet เป็นการรวบรวม code/command ที่ใช้จริง — มัน specific กับ context ล่าสุดอยู่แล้ว

  • ถ้าเพิ่งคุยเรื่อง maw arra plugin → cheat sheet = maw arra commands
  • ถ้าเพิ่งคุยเรื่อง crash recovery → cheat sheet = crash recovery commands
  • ถ้าเพิ่งคุยเรื่อง deploy → cheat sheet = deploy commands
  • อ่าน conversation memory ล่าสุด แล้วเริ่มเขียนเลย ไม่ต้อง AskUserQuestion

Style guide (สำคัญ — นี่คือ DNA ของ skill นี้)

ต้องเขียนแบบนี้เสมอ:

  1. เปิดด้วย title + tagline สั้น 1 บรรทัด (ใต้ #)
  2. Icon sections — ใช้ emoji นำแต่ละหมวด: 🐾 🔧 📨 🔍 🌐 📋 🔁 ⚡ ⚠️
  3. Code blocks copy-paste ได้ทันที — ไม่ใช่ pseudo-code, ไม่มี <placeholder> ที่ต้องเดา ใส่ค่าจริงจาก session
  4. ตาราง ลัด — ท้าย sheet มีตาราง | ทำอะไร | คำสั่ง | สรุปสั้น ๆ
  5. trap ที่เจอจริง — ตาราง | trap | วิธีเลี่ยง | จากประสบการณ์ session นี้
  6. ไม่มี prose ยาว — ทุก section คือ heading + code + หมายเหตุสั้น 1-2 บรรทัด
  7. env/config section — รวม env vars + config ที่ต้องตั้งไว้ที่เดียว
  8. ปิดด้วย 🤖 signature ตาม Rule 6

Procedure

1. Mine session for commands

bash
ORACLE_ROOT=$(git rev-parse --show-toplevel 2>/dev/null || pwd)
ENCODED_PWD=$(echo "$ORACLE_ROOT" | sed 's|^/|-|; s|[/.]|-|g')
PROJECT_DIR="$HOME/.claude/projects/${ENCODED_PWD}"
LATEST_JSONL=$(ls -t "$PROJECT_DIR"/*.jsonl 2>/dev/null | head -1)

Spawn a Haiku subagent (model: "haiku") with the session JSONL:

bash
python3 - <<'PYEOF'
import json, os
jsonl = os.environ.get('LATEST_JSONL', '')
if not jsonl or not os.path.exists(jsonl): exit(0)
cmds = set()
with open(jsonl) as f:
    for line in f:
        try:
            m = json.loads(line)
            if m.get('type') != 'assistant': continue
            for block in (m.get('message', {}).get('content', []) or []):
                if isinstance(block, dict) and block.get('type') == 'tool_use':
                    if block.get('name') == 'Bash':
                        cmd = block.get('input', {}).get('command', '')
                        if cmd:
                            # extract first meaningful command
                            first = cmd.split('&&')[0].split('|')[0].strip()
                            if first and not first.startswith('#') and not first.startswith('echo'):
                                cmds.add(first[:80])
        except: pass
for c in sorted(cmds):
    print(c)
PYEOF

Pass the output to the subagent with this prompt:

"Here are shell commands actually used in a Claude Code session. Group them by purpose (team management, search/query, git/PR, fleet communication, server, etc.). For each group, pick the most useful 3-5 commands. Return as markdown sections with code blocks. No prose — just heading + code + 1-line note."

2. Mine traps from conversation memory

Scan the conversation for:

  • Error messages that led to a different approach
  • Commands that were retried with different arguments
  • Explicit "trap" or "gotcha" or "bug" mentions
  • ⚠️ warnings given during the session

Format each as a row: | trap description | workaround |

3. Build the cheat sheet

Path: ψ/writing/cheatsheets/YYYY-MM-DD_<topic>.md

Use this exact structure (fill from session data):

markdown
# <topic> สูตรโกง

> <1-line tagline — what this covers, from what session>

---

## 🔧 <Category 1>

### <sub-topic>

` ` `bash
<real commands from session>
` ` `

## 📨 <Category 2>

...

## ⚡ ลัด

| ทำอะไร | คำสั่ง |
|--------|--------|
| ... | `...` |

## ⚠️ trap ที่เจอจริง

| trap | วิธีเลี่ยง |
|------|-----------|
| ... | ... |

---

🤖 ตอบโดย arra-oracle-v3 จาก Nat → arra-oracle-v3-oracle

4. Customize per topic

If the session is about a specific tool/feature (e.g., maw arra plugin, deploy, federation):

  • Focus sections on that tool's commands
  • Include install/setup at the top
  • Include env/config section

If the session is broad (many topics):

  • Group by workflow phase (setup → develop → review → deploy)
  • Include a "today's highlight" section at top

If user says "for a friend" / "ให้เพื่อน":

  • Add install/prereq section at top
  • Make every code block self-contained (no context needed)
  • Add "ติดตั้งครั้งเดียว" vs "ใช้ทุกวัน" separation

5. Announce

bash
PSI=$(readlink -f "$ORACLE_ROOT/ψ" 2>/dev/null || echo "$ORACLE_ROOT/ψ")
mkdir -p "$PSI/writing/cheatsheets"
SHEET_FILE="$PSI/writing/cheatsheets/$(date +%Y-%m-%d)_${SLUG}.md"
echo "📋 Cheat sheet: $SHEET_FILE"

Notes

  • ไม่ใช้ /kien-thai — cheat sheet เป็น code-heavy reference ไม่ใช่ prose
  • ภาษาผสม ไทย+อังกฤษ — heading ไทย, code อังกฤษ, หมายเหตุสั้นไทย
  • ไม่ recap — ไม่มี "สรุป" ท้ายไฟล์ จบที่ trap table
  • ค่าจริงจาก session — ใส่ repo name, issue number, port, path จริง ไม่ใช่ generic
  • Reuse: cheat sheet ที่เขียนแล้วอยู่ใน ψ/writing/cheatsheets/ — ถ้ามีอยู่แล้วให้ append/update ไม่ใช่เขียนใหม่ทั้งหมด

Frequently asked questions

What does the Oracle Cheatsheet AI skill do?

Generate a copy-paste cheat sheet from the current session — commands used, traps hit, shortcuts discovered. Style: icon sections, code blocks, quick-ref tables, trap warnings. Use when user says 'cheatsheet', 'cheat sheet', 'สูตรโกง', 'รวมคำสั่ง', 'command reference', or wants a reusable command summary from what just happened.

Why use Oracle Cheatsheet on TypingMind?

Because you install it once and use it with any model. Oracle Cheatsheet is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Oracle Cheatsheet in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/Soul-Brews-Studio/arra-oracle-skills-cli/tree/alpha/skills/oracle-cheatsheet. TypingMind reads its SKILL.md and installs it as a skill you can enable per chat.

Which AI models can use Oracle Cheatsheet?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Oracle Cheatsheet?

As many as you like. As long as a model supports skills, you can use Oracle Cheatsheet with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Oracle Cheatsheet AI skill free?

Yes. It is published on GitHub by Soul-Brews-Studio under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇