frida-agent-builder
Skill3 starsChanged 6 months agoMITView on GitHub
Build maintainable Frida agent projects with TypeScript, frida-compile, RPC exports, helpers, logging, version checks, and multi-hook organization.
- Installs packages
In this repository15 other files it gives its agents.
- AGENTS.mdAGENTS.md
- frida-android-hooksSkill
- frida-anti-instrumentationSkill
- frida-codeshare-searchSkill
- frida-data-extractionSkill
- frida-gadget-injectionSkill
- frida-ios-hooksSkill
- frida-native-hooksSkill
- frida-script-reviewSkill
- frida-setup-checklistSkill
- frida-tls-pinningSkill
- frida-tools-referenceSkill
- frida-tracing-discoverySkill
- frida-troubleshootingSkill
- frida-workflowSkill
The file
We split this skill into the rules it gives an agent
9 rules. About 0 are common, 6 are distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈6
Distinctive · estimate
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 8
Use this skill for reusable Frida agents and multi-script projects.
- Distinctive: line 12
Prefer a small TypeScript agent when scripts will grow beyond a single hook:
- Distinctive: line 29
Keep one hook family per file.
- Distinctive: line 31
Use structured logging with tags and JSON for complex values.
- Very specific: line 32
Add rpc.exports only for host-controlled actions or test probes.
- Distinctive: line 33
Avoid global broad hooks unless the task explicitly requires discovery.
- Distinctive: line 34
Keep generated artifacts out of source control unless the repository convention includes them.
- Very specific: line 38
Use scripts/scaffold-frida-agent.py to create a minimal TypeScript Frida agent:
- Very specific: line 53
Read references/agent-patterns.md for project conventions, RPC patterns, host command examples, and packaging notes.
≈ “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
Frida Agent Builder
Use this skill for reusable Frida agents and multi-script projects.
Project Shape
Prefer a small TypeScript agent when scripts will grow beyond a single hook:
agent/
├── package.json
├── tsconfig.json
├── src/
│ ├── index.ts
│ ├── log.ts
│ └── hooks/
└── dist/For Frida 17 and Java APIs in bundled agents, include frida-java-bridge when required by the build/runtime style.
Build Rules
- Keep one hook family per file.
- Export an
init()function per hook family and call it fromsrc/index.ts. - Use structured logging with tags and JSON for complex values.
- Add
rpc.exportsonly for host-controlled actions or test probes. - Avoid global broad hooks unless the task explicitly requires discovery.
- Keep generated artifacts out of source control unless the repository convention includes them.
Scaffold Script
Use scripts/scaffold-frida-agent.py to create a minimal TypeScript Frida agent:
python3 /path/to/frida-agent-builder/scripts/scaffold-frida-agent.py ./agent --javaThen install and build:
npm install
npm run buildReferences
Read references/agent-patterns.md for project conventions, RPC patterns, host command examples, and packaging notes.
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
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.

