fit-device-id-modifier

v1.0.0

Modify FIT files to set device manufacturer to Garmin (1) and product ID to Edge 500 China (1030) for proper recognition on Garmin Connect.

0· 91·0 current·0 all-time
by码代码的猿猿@ckboss
MIT-0
Download zip
LicenseMIT-0 · Free to use, modify, and redistribute. No attribution required.
Security Scan
VirusTotalVirusTotal
Benign
View report →
OpenClawOpenClaw
Benign
high confidence
Purpose & Capability
Name, description, SKILL.md, and the included modify_fit.py are consistent: the skill reads FIT files, sets manufacturer to 1 and garmin_product to 1030, recalculates CRC, and writes new *_GM.fit files. The only external dependency mentioned is fitparse (pip), which is appropriate for parsing FIT files.
Instruction Scope
Runtime instructions only ask the agent/user to run the provided Python script against FIT files. The script only reads local files and writes new files; it prints message/field values to stdout. Caveats: the script performs binary replacement by searching for the old numeric value's byte sequence anywhere in the file (data.find) which can accidentally replace unrelated occurrences, and it uses a custom CRC calculation that may not match the official FIT CRC algorithm. SKILL.md references an absolute conda/python path and to run from a specific workspace directory — these are benign but environment-specific and should be adjusted to your system.
Install Mechanism
There is no install spec (instruction-only skill with a Python script). The only required package is fitparse (pip), which is reasonable and expected. No remote downloads or archives are fetched by the skill itself.
Credentials
The skill does not request environment variables, credentials, or config paths. SKILL.md mentions a local Python interpreter path but that is an instruction, not a secret. No access to unrelated services is requested.
Persistence & Privilege
always is false and the skill does not attempt to modify other skills or system-wide configuration. It only operates on files given to it and writes per-file outputs.
Assessment
This skill appears to be what it says: a local tool to modify FIT files so Garmin Connect recognizes them. Before using it widely: 1) Back up original FIT files (the script can corrupt files because it replaces raw byte sequences and may match unintended bytes). 2) Test on a small sample and verify the generated _GM.fit is accepted by Garmin Connect. 3) Use an isolated Python environment and pip install fitparse rather than running the absolute /home/ckboss path in the SKILL.md. 4) Review/consider improving the script (identify fields by message structure rather than byte-pattern search and verify the CRC algorithm matches the FIT specification). 5) There are no network calls or credential requests in the code, so there is low privacy risk, but always inspect outputs before uploading to external services.

Like a lobster shell, security has layers — review code before you run it.

latestvk970rg4saky0hjd74qgkzx7hj983dnz2

License

MIT-0
Free to use, modify, and redistribute. No attribution required.

Comments