ctf-similar-search
Skill by ljagiello
Searches for similar CTF challenge writeups using the Tavily API. It is for CTF players who need reference solutions or examples for a challenge type.
Install ctf-similar-search
Built from the published package, never by AI.
git clone --depth 1 https://github.com/ljagiello/ctf-skills /tmp/ctf-skills && mkdir -p ~/.claude/skills && cp -r /tmp/ctf-skills/ctf-similar-search ~/.claude/skills/ctf-similar-searchRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/ljagiello/ctf-skills /tmp/ctf-skills && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/ctf-skills/ctf-similar-search ~/.gemini/antigravity-cli/skills/ctf-similar-searchAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
ctf-similar-search is an agent skill that searches for similar CTF challenge writeups using the Tavily API. It provides a search.sh script with two commands: search, which runs keyword searches, and extract, which pulls the full content of selected URLs. The skill is published by ljagiello under the MIT license.
The skill gives keyword guidance for three scenarios: competition plus challenge name, challenge name only, and unique code strings or error messages. Non-code queries are capped at three words to keep results focused. It is meant for CTF players who need reference solutions, especially after solve-challenge has failed several times, and it points to other ctf-* skills when a challenge is already categorized.
Written from the project's SKILL.md and checked against it.
What it can do
- searchRuns Tavily keyword searches for CTF writeups and articles.
- extractExtracts the full content from one or more selected URLs.
- Keyword scenariosBuilds queries from competition name, challenge name, or unique strings.
- Three-word limitKeeps non-code keyword queries to three words or fewer.
- Skill pivotsPoints to ctf-osint, ctf-writeup, or category-specific ctf-* skills.
What you need
- Tavily API key from tavily.com
- Python 3 with requests and tavily packages
- Bash
- Filesystem-based agent such as Claude Code
Try asking
- Find writeups for the DASCTF URL Storage challenge
- Search for the code snippet def xor_encrypt(data, key):
- Extract the content from this CTFtime writeup URL
Good to know
- Non-code keyword queries must stay within three words.
- Requires a Tavily API key set as TAVILY_API_KEY.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: ctf-similar-search/SKILL.md, ctf-similar-search/search.py, ctf-similar-search/search.sh. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
Allowed tools: Bash Read Write Glob Grep Skill
-
SKILL.md6 KB -
search.py7 KB -
search.sh565 B
Alternatives to ctf-similar-search
All alternatives →Retrieves lab biomarker results and clinician notes from Function Health through its FHIR API. It is for people who want an AI assistant to review their own lab history and notes.
Gives an AI assistant a methodology for finding and exploiting privilege escalation weaknesses on Windows systems during authorized penetration tests. It is for security testers and defenders validating escalation paths.
Guides the assistant through designing, debugging and hardening GitHub Actions CI/CD workflows. It is aimed at teams that run production pipelines on GitHub.
Develops evidence-backed structural security hardening proposals from disclosures, findings, source code, or Codex Security scans. It is for teams that need systemic fixes and architectural tradeoffs.
Claude Security scans code for security issues with Claude Code. It covers whole repositories, branch or pull request diffs, single commits, and existing findings from SARIF files or earlier reports.
Turns vulnerability notes, disclosure reports, PoCs, source code, or Codex Security findings into self-contained vulnerability reports. Built for security researchers who need claims the evidence supports.
Compare with function_health, windows-privilege-escalation or github-actions-advanced
ctf-similar-search: common questions
When should I use ctf-similar-search?
The source says to use it when the user asks for related challenges, when solve-challenge has failed multiple times, or when first identifying a challenge type and seeking examples.
What makes a good search query for this skill?
The skill recommends a competition name plus challenge name in three words or fewer, or unique code snippets and error messages, which have no word limit. Generic terms like web or crypto and single vulnerability names are listed as poor keywords.
What does the extract command do?
It extracts the full content from URLs you choose after reviewing search results. The source says to extract only URLs that look relevant.
How do I install ctf-similar-search?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is ctf-similar-search free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is ctf-similar-search safe to use?
It scores 93 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to ctf-similar-search?
Similar skills: function_health, windows-privilege-escalation, github-actions-advanced, propose-security-hardening.
