misc
Skill12 starsChanged 9 months agoMITView on GitHub
Solve CTF misc challenges: encoding chains, esoteric programming languages, QR codes, logic puzzles, and anything that doesn't fit crypto/forensics/stego/web/pwn/reverse/osint. Use when you see: Brainfuck (+[->), Ook!, Whitespace, JSFuck, QR/barcodes, multi-layer encoding (Base64->hex->ROT13), or "what encoding is this". Triggers: "decode this", "esoteric language", "QR code", "barcode", "encoding chain", "CyberChef", unusual character sets. Tools: CyberChef, zbarimg, dcode.fr, online interpreters.
The file
We split this skill into the rules it gives an agent
5 rules. About 0 are common, 4 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈4
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 20
Use this command for challenges involving:
- Distinctive: line 62
Whitespace: Only spaces, tabs, newlines
- Distinctive: line 65
Use online interpreters for these.
- Distinctive: line 74
Search all intermediate and final results for flag patterns
- Very specific: line 100
When using /ctf-kit:team-solve with a misc challenge, the lead spawns 3 specialists:
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
CTF Misc
Analyze and solve miscellaneous challenges.
When to Use
Use this command for challenges involving:
- Encoding chains
- Esoteric programming languages
- QR codes and barcodes
- Logic puzzles
- Challenges that don't fit other categories
Bundled Scripts
- check-tools.sh — Verify required misc tools are installed
- run-decode.sh — Multi-encoding decoder: tries Base64, Base32, hex, ROT13, URL, binary. Detects encoding type, attempts recursive decoding chains, and searches for flags. Outputs JSON with all decoded results.
Instructions
- First check tool availability:
bash scripts/check-tools.sh For encoding detection and decoding (outputs structured JSON):
bash scripts/run-decode.sh <encoded-string> bash scripts/run-decode.sh encoded.txtJSON output includes:
detected_encoding: what the input looks like (base64, hex, binary, etc.)decodings[]: all successful decodings with confidence levelschains[]: multi-step decoding results (e.g., base64 → hex → plaintext)flags: any flag patterns found in decoded outputhas_flag: true if flag found
The script automatically tries chaining: if Base64 decoding produces another encoded string, it tries decoding that too.
For QR codes:
zbarimg qrcode.pngFor esoteric languages:
- Brainfuck:
++++[>++++++++<-]>. - Ook!:
Ook. Ook! Ook. - Whitespace: Only spaces, tabs, newlines
- JSFuck:
[]!+()characters only
Use online interpreters for these.
- Brainfuck:
Encoding Chain Workflow
The run-decode.sh script handles multi-step chains automatically:
- Input → detect encoding type
- Try all standard decodings (base64, hex, ROT13, URL, binary)
- For each successful decoding → try decoding the result again
- Search all intermediate and final results for flag patterns
- Output unified JSON with all results
Common Encoding Patterns
| Pattern | Encoding |
= or == at end | Base64 |
| All caps + 2-7 | Base32 |
| Only 0-9 a-f | Hexadecimal |
| Only 0 and 1 | Binary |
%20, %3D | URL encoding |
A, A | HTML entities |
Esoteric Language Detection
| Looks Like | Language |
+ - < > [ ] . , | Brainfuck |
Ook. Ook! Ook? | Ook! |
| Only whitespace | Whitespace |
[]+!() | JSFuck |
moo, MOO | COW |
Team Roles
When using /ctf-kit:team-solve with a misc challenge, the lead spawns 3 specialists:
| Role | Teammate Name | Focus | Tools | First Action |
| Encoding Specialist | decoder | CyberChef recipes, multi-layer encoding chains, base conversions, custom encodings, cipher identification | CyberChef, scripts/run-decode.sh, python3 | Run run-decode.sh, try recursive decoding, identify encoding layers |
| Esoteric & Code | esoteric-analyst | Brainfuck, Whitespace, JSFuck, Ook!, Malbolge, polyglots, custom language identification | Online interpreters, python3 | Identify language from character set, find/build interpreter, execute |
| Puzzle & Logic | puzzle-solver | Pattern recognition, math puzzles, QR/barcodes, game theory, constraint satisfaction, riddles | zbarimg, python3, z3 | Scan for QR/barcodes, analyze patterns, identify puzzle type |
When to broadcast
- Decoder: "Base64 decoded to hex, hex decoded to... another encoding" — puzzle solver helps identify the pattern
- Esoteric: "Identified as Whitespace language, output is: PARTIAL_STRING" — decoder checks if output needs further decoding
- Puzzle: "QR code contains URL / encoded string" — decoder processes the content
- Any: "Found the flag" — immediate broadcast, all stop
Example Usage
/ctf-kit:misc encoded.txt
/ctf-kit:misc qrcode.png
/ctf-kit:misc challenge.bfDoes 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
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.

