opensifli/sifli-skills/sftool
Claude Code and agent skill by opensifli/sifli-skills
Trust tier 3
- community
Source check pending
Checking that the SKILL.md file is still in the repository.
Use sftool for SiFli flashing, flash readback, JSON config generation, and serial troubleshooting on SF32LB52, SF32LB55, SF32LB56, SF32LB57, and SF32LB58 devices.
Install
npx vskill@latest install opensifli/sifli-skills/sftoolSKILL.md
The same SKILL.md was published earlier as opensifli/sftool/sftool.
SFTool
Use this skill to drive the local sftool CLI for normal SiFli workflows.
Runtime Guardrails
- Resolve the executable before planning any real command. Prefer
SFTOOL_BINwhen it is set; otherwise usesftoolfromPATH. - Use a shell-appropriate equivalent of these checks:
- If the executable check fails, stop and return exactly:
Error: sftool command not found in PATH or SFTOOL_BIN. Stop and ask the user to install sftool or fix the environment before continuing.- Do not try to auto-install
sftool, invent a binary path, or continue with hypothetical commands after that error. - Do not guess
--chip,--port, addresses, sizes, or file paths. - Prefer
write_flash --verifyunless the user explicitly disables verification. - Do not use
erase_flashorwrite_flash --erase-allunless the user explicitly asks for an entire-flash erase. - Re-run
sftool --helpor the relevant subcommand help in the current environment before constructing the final command whenever there is any doubt about the arguments or options.
Workflow
- Resolve
SFTOOL_BINorsftool. - Run
sftool --helpand the relevant subcommand help. - Gather the missing required arguments:
- Flashing: chip, port, file list, target addresses, and non-default memory type.
- Readback: chip, port, output path, address, and size.
- JSON config: command type plus the same required fields as the equivalent CLI command.
- Choose the safest matching operation:
write_flashfor programming.read_flashfor dumps and backups.erase_regionfor targeted erases.configfor repeatable JSON-driven runs.
- Use conservative flags first:
- Keep the default memory as
norunless the user saysnandorsd. - Use
--compatonly when the user reports repeated timeouts or verify failures, or asks for the safest transfer mode.
- If the user asks about
stubworkflows, inspectsftool stub --helpin the current environment before advising.
Reference Map
- Use `references/commands.md` for normal command construction and examples.
- Use `references/config-examples.md` when the user wants JSON config files or automation-friendly templates.
- Use `references/troubleshooting.md` for missing commands, serial errors, timeout handling, and verify failures.
- Copy from `assets/base-config.json`, `assets/write-flash-config.json`, and `assets/read-flash-config.json` instead of recreating JSON templates from scratch.
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/sftool/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/opensifli/sifli-skills/sftool)