by Tencent
Memory instrumentation tool with CI and AI support for android app&game developers.
# Add to your Claude Code skills
git clone https://github.com/Tencent/loli_profilerGuides for using ai agents skills like loli_profiler.
Last scanned: 5/8/2026
{
"issues": [],
"status": "PASSED",
"scannedAt": "2026-05-08T06:00:35.797Z",
"semgrepRan": false,
"npmAuditRan": true,
"pipAuditRan": false
}See how loli_profiler compares with popular alternatives.
loli_profiler is an open-source ai agents skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by Tencent. Memory instrumentation tool with CI and AI support for android app&game developers. It has 697 GitHub stars.
Yes. loli_profiler passed SkillsLLM's automated security scan — a dependency vulnerability audit plus prompt-injection heuristics — with no high-severity issues. You can read the full report in the Security Report section on this page.
Clone the repository with "git clone https://github.com/Tencent/loli_profiler" and add it to your Claude Code skills directory (see the Installation section above).
loli_profiler is primarily written in C++. It is open-source under Tencent on GitHub, so you can review or fork the full source.
Yes. SkillsLLM lists many other AI Agents skills you can browse and compare side by side. Open the AI Agents category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh loli_profiler against similar tools.
No comments yet. Be the first to share your thoughts!
⚠️ Third-Party Software Notice
This skill is third-party open-source software developed and hosted independently on GitHub. SkillsLLM is an informational directory and does not control or maintain the underlying repository.
Any security checks, ratings, or warnings displayed by SkillsLLM are automated and limited in scope. They do not constitute a security certification or guarantee that the software is safe, error-free, or free from malicious code, vulnerabilities, compromised dependencies, or prompt-injection risks.
Review the source code, permissions, dependencies, and configuration before installing or running any third-party skill. Use is at your own risk. To the maximum extent permitted by applicable law, SkillsLLM is not liable for losses arising from third-party software.
LoliProfiler captures native allocations in Android applications and displays call stacks, a treemap, memory timeline, screenshots, and smaps data. The desktop GUI and headless capture CLI use the same Qt-free C++ core.


Compare opens dockable Base, Comparer, and Diff views for two captures. Comparison guide.
From the repository root:
python scripts/build.py
The interactive menu builds the GUI, CLI, Android hooks, and release zip. SDK/NDK downloads require your confirmation. See the build guide for prerequisites, non-interactive commands, and Windows/macOS/Linux details.
The GUI's Console tab shows capture and load timings. GUI and CLI use the same logging API; add --log-file profiler.log to save timestamped diagnostics and --log-level debug for more detail. See the quick start.
.db heap exploration| Tool | Use |
|---|---|
LoliProfilerImGui |
Launch or attach, inspect live/saved captures, and save .loli files. |
LoliProfilerCLI |
Capture headlessly; export .txt or SQLite .db; compare captures; symbolize offline. |
LoliProfilerCompare |
Compare two saved captures in independent, dockable Base/Comparer/Diff panels. |
agentcli Python package |
Query the SQLite call tree from scripts or agents. The loli command remains available. |
During capture, choose whether to keep every allocation record or retain only allocations still live at stop. In the Stacktrace panel, the All Allocations / Persistent selector changes the inspection view for saved records. Symbol names require a matching application library with suitable debug information.
The comparer builds on leoin2012's fork, whose Loli Compare module credits shuchangliu.
| Project | Role |
|---|---|
| Dear ImGui | Dockable desktop interface. |
| ImGui-SFML | ImGui rendering and event integration. |
| SFML | Window, graphics, and device socket transport. |
| nativefiledialog-extended | Native file and folder dialogs. |
| tiny-process-library | ADB, Python, and symbol-tool subprocesses. |
| RapidJSON | Application settings. |
| SQLite | Indexed .db snapshot export and agent queries. |
| LZ4 | Compressed capture packets. |
| xHook | Android native allocation hooks. |
| Nougat_dlfunctions | Android symbol lookup helper. |
The Android hook also draws on upstream stack-trace and sampling techniques documented in Chromium and Perfetto. The JDWP injection approach is described in this article. Legacy toolbar assets credit Smashicons and Freepik.
See LICENSE and the licenses in each vendored component.