frida-agent-builder
Build maintainable Frida agent projects with TypeScript, frida-compile, RPC exports, helpers, logging, version checks, and multi-hook organization.
How do I install this agent skill?
npx skills add https://github.com/rudra-ravi/frida-skills --skill frida-agent-builderIs this agent skill safe to install?
- Gen Agent Trust Hubpass
This skill provides a scaffolding tool and documentation for creating maintainable Frida agents using TypeScript. It includes a Python script to generate a project structure and instructions for using standard tools like npm and frida-compile. No security risks were identified.
- Socketpass
No alerts
- Snykpass
Risk: LOW · No issues
What does this agent skill do?
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.
How can the creator link this skill?
Add the canonical catalog link to the repository README so users can inspect current installs and available audits. The publishing guide covers the complete discovery path.
<a href="https://skillzs.dev/skills/rudra-ravi/frida-skills/frida-agent-builder">View frida-agent-builder on skillZs</a>