Frida agent builder
Build maintainable Frida agent projects with TypeScript, frida-compile, RPC exports, helpers, logging, version checks, and multi-hook organization.From its SKILL.md
npx -y skills add Rudra-ravi/frida-skills --skill frida-agent-builderAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
2 things to look at
- 1 stars1 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
- runs commandsInstructs the agent to run 3 commands, including `python3 /path/to/frida-agent-builder/scripts/scaffold-frida-agent.py ./agent --java` and 2 more.
SKILL.md
1.5 KB, 294 tokens by cl100k_base, as published. Nobody here has run it
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 --java
Then install and build:
npm install
npm run build
References
Read references/agent-patterns.md for project conventions, RPC patterns, host command examples, and packaging notes.
What ships with it: 3 files
2.9 KB alongside SKILL.md, 1 of them executable
agents/
- openai.yaml192 B
references/
- agent-patterns.md763 B
scripts/
- scaffold-frida-agent.pyruns2.0 KB