← Back to Skills Marketplace
littleenough

struct-offset-analyzer

by LittleEnough · GitHub ↗ · v1.0.1
cross-platform ✓ Security Clean
432
Downloads
2
Stars
0
Active Installs
2
Versions
Install in OpenClaw
/install struct-offset-analyzer
Description
Statically analyze C struct member offsets through code reading to calculate memory layouts
Usage Guidance
This skill is an instruction-only guide that will tell an agent how to search your codebase and compute struct offsets; it does not fetch code or require credentials. Before using it: (1) be aware the alignment/size table is an oversimplification—verify results against the target compiler/ABI (use offsetof/sizeof in a build or compiler docs); (2) take into account conditional compilation and #pragma pack in the target source; and (3) remember the skill's grep-based steps will scan your repository files, so do not run it against sensitive locations you don't want searched. Overall the package is internally coherent and does what it claims, but double-check computed offsets with a compiler when precision is critical.
Capability Analysis
Type: OpenClaw Skill Name: struct-offset-analyzer Version: 1.0.1 The skill bundle describes a legitimate static analysis process for C struct member offsets. The `SKILL.md` provides informational content, workflow steps, and example `grep` commands relevant to code reading. There is no evidence of intentional harmful behavior, data exfiltration, persistence mechanisms, or malicious prompt injection attempts against the AI agent. The suggested `grep` commands are appropriate for the stated purpose of code analysis and are not crafted to exploit the system or the agent.
Capability Assessment
Purpose & Capability
The name/description (static C struct offset analysis) match the SKILL.md workflow: searching headers, collecting type info, and applying alignment rules. No unrelated credentials, binaries, or installs are requested.
Instruction Scope
Instructions stay within scope (search local source files, compute offsets, consider #ifdef/#pragma). Minor technical inaccuracies and oversimplifications appear in the alignment rules (e.g., text says 'Member offset must be a multiple of its size' when it should reference alignment requirements), but these are correctness issues rather than evidence of malicious behavior.
Install Mechanism
No install spec and no code files are included; this is instruction-only so nothing is written to disk or fetched at install time.
Credentials
The skill requests no environment variables, credentials, or config paths — proportional to an offline, static-analysis guide.
Persistence & Privilege
always is false, the skill is user-invocable and does not request persistent presence or modify other skills or system settings.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install struct-offset-analyzer
  3. After installation, invoke the skill by name or use /struct-offset-analyzer
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.1
- SKILL.md updated with a full English translation of all content - Terminology and workflow descriptions revised for clarity and consistency - Command-line search examples and tabular offset explanations now in English - No changes to core logic or functionality; documentation update only
v1.0.0
- Initial release of struct-offset-analyzer. - Analyze C struct member offsets by reading code, without execution. - Provides workflow for identifying struct definitions, collecting type info, and computing offsets by alignment rules. - Includes tables and example commands for searching codebases. - Explains padding/alignment rules and output format for offset tables. - Covers usage scenarios including reverse engineering, debugging, and security research.
Metadata
Slug struct-offset-analyzer
Version 1.0.1
License
All-time Installs 0
Active Installs 0
Total Versions 2
Frequently Asked Questions

What is struct-offset-analyzer?

Statically analyze C struct member offsets through code reading to calculate memory layouts. It is an AI Agent Skill for Claude Code / OpenClaw, with 432 downloads so far.

How do I install struct-offset-analyzer?

Run "/install struct-offset-analyzer" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is struct-offset-analyzer free?

Yes, struct-offset-analyzer is completely free (open-source). You can download, install and use it at no cost.

Which platforms does struct-offset-analyzer support?

struct-offset-analyzer is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created struct-offset-analyzer?

It is built and maintained by LittleEnough (@littleenough); the current version is v1.0.1.

💬 Comments