agentleFS
MysterionRiseMysterionRise/ctf-kit/skills/misc/SKILL.md

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
  1. Distinctive:

    Use this command for challenges involving:

    line 20
  2. Distinctive:

    Whitespace: Only spaces, tabs, newlines

    line 62
  3. Distinctive:

    Use online interpreters for these.

    line 65
  4. Distinctive:

    Search all intermediate and final results for flag patterns

    line 74
  5. Very specific:

    When using /ctf-kit:team-solve with a misc challenge, the lead spawns 3 specialists:

    line 100

≈ “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.

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

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

  1. First check tool availability: bash scripts/check-tools.sh
  2. For encoding detection and decoding (outputs structured JSON):

    bash scripts/run-decode.sh <encoded-string>
    bash scripts/run-decode.sh encoded.txt

    JSON output includes:

    • detected_encoding: what the input looks like (base64, hex, binary, etc.)
    • decodings[]: all successful decodings with confidence levels
    • chains[]: multi-step decoding results (e.g., base64 → hex → plaintext)
    • flags: any flag patterns found in decoded output
    • has_flag: true if flag found

    The script automatically tries chaining: if Base64 decoding produces another encoded string, it tries decoding that too.

  3. For QR codes:

    zbarimg qrcode.png
  4. For esoteric languages:

    • Brainfuck: ++++[>++++++++<-]>.
    • Ook!: Ook. Ook! Ook.
    • Whitespace: Only spaces, tabs, newlines
    • JSFuck: []!+() characters only

    Use online interpreters for these.

Encoding Chain Workflow

The run-decode.sh script handles multi-step chains automatically:

  1. Input → detect encoding type
  2. Try all standard decodings (base64, hex, ROT13, URL, binary)
  3. For each successful decoding → try decoding the result again
  4. Search all intermediate and final results for flag patterns
  5. Output unified JSON with all results

Common Encoding Patterns

PatternEncoding
= or == at endBase64
All caps + 2-7Base32
Only 0-9 a-fHexadecimal
Only 0 and 1Binary
%20, %3DURL encoding
&#65;, &#x41;HTML entities

Esoteric Language Detection

Looks LikeLanguage
+ - < > [ ] . ,Brainfuck
Ook. Ook! Ook?Ook!
Only whitespaceWhitespace
[]+!()JSFuck
moo, MOOCOW

Team Roles

When using /ctf-kit:team-solve with a misc challenge, the lead spawns 3 specialists:

RoleTeammate NameFocusToolsFirst Action
Encoding SpecialistdecoderCyberChef recipes, multi-layer encoding chains, base conversions, custom encodings, cipher identificationCyberChef, scripts/run-decode.sh, python3Run run-decode.sh, try recursive decoding, identify encoding layers
Esoteric & Codeesoteric-analystBrainfuck, Whitespace, JSFuck, Ook!, Malbolge, polyglots, custom language identificationOnline interpreters, python3Identify language from character set, find/build interpreter, execute
Puzzle & Logicpuzzle-solverPattern recognition, math puzzles, QR/barcodes, game theory, constraint satisfaction, riddleszbarimg, python3, z3Scan 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.bf

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.