asr3602-local-build-flash
Skill3 starsChanged 2 months agoMITView on GitHub
Build a normal local ASR360x firmware package, flash an existing verified package, or perform one build/flash/current-session CATStudio capture chain. Use for 出固件, 编译固件, 编译一个包, 刷固件, 刷到串口机器, 本地编译刷机, or 编译刷机抓日志. Do not use for releases, FOTA, uploads, or DumpTest.
In this repository11 other files it gives its agents.
- AGENTS.mdAGENTS.md
- asr3601-cross-branch-portingSkill
- asr3601-lvgl-firmware-triageSkill
- asr3601-project-onboardSkill
- asr3601-protocol-branch-matrixSkill
- asr360x-bug-delivery-orchestratorSkill
- catstudio-log-extractorSkill
- obsidian-fix-pattern-memorySkill
- skill-usage-trackerSkill
- zentao-bug-resolverSkill
- zentao-bug-triageSkill
The file
We split this skill into the rules it gives an agent
6 rules. About 0 are common, 4 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈4
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 27
Use the exact verified normal-test build profile.
- Distinctive: line 52
Do not flash once and call CATStudio capture a second time.
- Distinctive: line 54
Read flash and capture only for this composite mode's evidence contract.
- Very specific: line 59
Do not update yl.h, create release folders/readmes, upload, or publish.
- Distinctive: line 61
Do not remove watchdog configuration or select/build a Dump package.
- Distinctive: line 65
Do not guess build parameters from a repository name.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
ASR360x Local Build And Flash
The controller restores/prepares the registered branch profile internally. Reuse its result; do not run another full onboarding step or require navigation Markdown before this operation.
Select one mode and load only its required context.
| Request | Mode | Required context |
出固件 / 编译一个包 | Build only | Build profile; no device or CATStudio |
刷这个包 | Flash existing | Package manifest/hash plus physical device |
编译并刷机 | Build and flash | Build profile plus physical device |
编译刷机抓日志 | Flash and capture | Build/flash receipt plus current CATStudio session |
Build Only Fast Path
Reuse the task snapshot and invoke the controller once with -NoFlash:
powershell.exe -NoProfile -ExecutionPolicy Bypass -File "$env:USERPROFILE\.codex\skills\asr3602-local-build-flash\scripts\local_build_flash.ps1" -Repo . -BuildCommand "<project-confirmed command>" -NoFlashUse the exact verified normal-test build profile. Do not read device context,
probe USB/COM, open CATStudio, or run a second artifact search. Consume the
controller's package path, SHA256, manifest, and build result.
Flash Existing Or Build And Flash
For an existing package:
powershell.exe -NoProfile -ExecutionPolicy Bypass -File "$env:USERPROFILE\.codex\skills\asr3602-local-build-flash\scripts\local_build_flash.ps1" -Repo . -NoBuild -Package "<firmware.zip>" -Port <confirmed-port>For build and flash, omit -NoBuild/-NoFlash and pass the exact build command.
Immediately before flashing, let the controller revalidate the profile, package
hash, chip compatibility, and physical USB identity. Do not perform a separate
flash or reselect the newest ZIP outside the controller.
Reject package names containing source, dump, or acceptance. A COM port is
transport metadata, not device identity; do not use Bluetooth serial ports.
Flash And Capture
Enter this mode only when the user explicitly asks for both flashing and current
log capture. Build once with -NoFlash -CleanTargetOutput -RequireFreshPackage,
then pass that exact package path and SHA256 to the combined flash/capture owner.
Do not flash once and call CATStudio capture a second time.
Read flash and capture only for this composite mode's evidence contract.
Boundaries
- Do not update
yl.h, create release folders/readmes, upload, or publish. Route formal release and FOTA to their owners. - Do not remove watchdog configuration or select/build a Dump package. Route DumpTest to the current project's dump owner.
- Preserve unrelated local changes. Dirty files may affect reproducibility but do not authorize staging, cleanup, or discard.
- Do not guess build parameters from a repository name. If the verified profile and user-supplied command disagree, stop with the exact mismatch.
- Build/package, flash, current-session capture, business evidence, and device/QA acceptance are separate results.
Report only the selected mode's command/result, exact package and SHA256, flash target/result when applicable, capture result when applicable, and relevant dirty state. Do not print unused-mode fields.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

