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/sftool

SKILL.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_BIN when it is set; otherwise use sftool from PATH.
  • Use a shell-appropriate equivalent of these checks:
sh
if [ -n "${SFTOOL_BIN:-}" ]; then
"$SFTOOL_BIN" --version
elif command -v sftool >/dev/null 2>&1; then
sftool --version
else
exit 1
fi
powershell
if ($env:SFTOOL_BIN) {
& $env:SFTOOL_BIN --version
} elseif (Get-Command sftool -ErrorAction SilentlyContinue) {
sftool --version
} else {
exit 1
}
  • 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 --verify unless the user explicitly disables verification.
  • Do not use erase_flash or write_flash --erase-all unless the user explicitly asks for an entire-flash erase.
  • Re-run sftool --help or the relevant subcommand help in the current environment before constructing the final command whenever there is any doubt about the arguments or options.

Workflow

  1. Resolve SFTOOL_BIN or sftool.
  2. Run sftool --help and the relevant subcommand help.
  3. 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.
  1. Choose the safest matching operation:
  • write_flash for programming.
  • read_flash for dumps and backups.
  • erase_region for targeted erases.
  • config for repeatable JSON-driven runs.
  1. Use conservative flags first:
  • Keep the default memory as nor unless the user says nand or sd.
  • Use --compat only when the user reports repeated timeouts or verify failures, or asks for the safest transfer mode.
  1. If the user asks about stub workflows, inspect sftool stub --help in the current environment before advising.

Reference Map

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

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
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/opensifli/sifli-skills/sftool/badge)](https://verified-skill.com/skills/opensifli/sifli-skills/sftool)

Something wrong with this skill or its page? Tell us.