AGENT SKILL

hacktricks-api

Query the HackTricks AI for a synthesized, curated answer when the local hacktricks corpus search is not enough. Cached (repeat queries cost nothing) and rate-limit-aware (weekly RAG quota). Covers the same broad domains as HackTricks — security, cloud, web, network, forensics, AI, and general dev. Prefer the local hacktricks skill first; use this to escalate.

适用职业开发工程师
使用场景后端与接口
License 许可
MIT
最近更新
2026-11-02
Stars
★ 0
Forks
0

01 前言 Front Matter

name
hacktricks-api
license
MIT
description
Query the HackTricks AI for a synthesized, curated answer when the local hacktricks corpus search is not enough. Cached (repeat queries cost nothing) and rate-limit-aware (weekly RAG quota). Covers the same broad domains as HackTricks — security, cloud, web, network, forensics, AI, and general dev. Prefer the local hacktricks skill first; use this to escalate.

02 资源文件 2

03 SKILL.md 正文

HackTricks AI API (cached, rate-limited)

Escalation layer over the local hacktricks skill. Talks to the HackTricks AI RAG/chat API. Always try the local hacktricks search first — this endpoint has a weekly RAG quota.

Setup (one-time)

Key lives in env HACKTRICKS_API_KEY (already set). Never pass it on the command line or print it. Optional: HACKTRICKS_CACHE (default D:\knowledge\hacktricks\.cache), HACKTRICKS_USAGE_FLOOR (default 2).

Usage

python scripts/htk_query.py usage                      # check remaining weekly quota (free, no spend)
python scripts/htk_query.py rag "AWS IAM privilege escalation" --max-results 5
python scripts/htk_query.py chat "explain SeImpersonate abuse"     # conversational (shares the weekly cap)
  • rag returns the top results[] (content + score + filename) plus a cached flag.
  • Identical rag queries are served from a content-hash cache (0 HTTP, 0 quota).
  • Before any spend the client checks GET /rag/usage and refuses if remaining <= floor — it tells you to use the local hacktricks skill instead.
  • The API key is read only from the env and is redacted from all output/errors (including HTTP error bodies).

Notes

  • /chat shares the same weekly cap and is not cached (conversational); use rag for repeatable lookups.
  • Content is HackTricks (CC BY-NC-SA) — personal reference only.

04 同仓库更多 Skills

Prekzursil
Prekzursil/agent-skills-toolchain

clarify-requirements

Resolve genuine pre-execution ambiguity by scanning repo context, generating 1-6 grounded options, and asking 1-3 focused questions via AskUserQuestion. NOT for mid-task use (injection risk); NOT when the goal is already unambiguous; use to disambiguate vague prompts before any file edits.

★ 0
Prekzursil
Prekzursil/agent-skills-toolchain

openmm-md

Run FREE, open-source, Windows-native GPU molecular dynamics via the openmm-md MCP (OpenMM + CUDA on the local NVIDIA GPU). Use for protein / protein-ligand MD when you want a free stack or are on Windows without a Schrodinger license. Covers the full workflow (prepare, solvate, minimize, equilibrate, production, analyze, mmgbsa) AND an honest decision guide vs Schrodinger Desmond, including how to run Desmond legitimately on Linux or a cloud GPU with a real license. This is a deliberately LESSER free alternative and does NOT replace the schrodinger MCP tools. Do NOT use it to pick a free tool when a validated FEP+, WaterMap, IFD-MD, or Prime MM-GBSA result is actually required.

Skill与智能体开发
★ 0
Prekzursil
Prekzursil/agent-skills-toolchain

visual-review

Take screenshots of web pages and UI using Playwright for visual review and iteration

演示文稿测试与质量
★ 0
Prekzursil
Prekzursil/agent-skills-toolchain

status

Diagnostic status report — shows metaswarm installation state, project setup, and potential issues

★ 0
Prekzursil
Prekzursil/agent-skills-toolchain

start

Use when starting work on any task, when the user mentions metaswarm, or when the user wants to begin tracked development work

Skill与智能体开发
★ 0
Prekzursil
Prekzursil/agent-skills-toolchain

setup

Interactive project setup — detects your project, configures metaswarm, writes project-local files

★ 0