Skip to content
Back to skills

Deployment Conversion

ASecurity

"Export PocketFlow checkpoints to GraphDef or TensorFlow Lite,

  • 247 stars
  • 0 votes
  • 0 copies
  • 5 views
  • Added September 8, 2026
tools

Security analysis

A100/100

Pro scans all 5 files and shows the line behind each finding

Scanned September 8, 2026

npx -y skills add VectorSpaceLab/AREX-Skill --skill deployment-conversion --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Deployment Conversion?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Deployment Conversion
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vectorspacelab-deployment-conversion-arex-skill/badge)](https://www.skillsdirectory.com/skills/vectorspacelab-deployment-conversion-arex-skill)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: deployment-conversion
description: "Export PocketFlow checkpoints to GraphDef or TensorFlow Lite,
  validate conversion artifacts, and troubleshoot mobile deployment or benchmark
  workflows."
disable-model-invocation: true
metadata:
  disco-role: operating
license: NOASSERTION
---

# PocketFlow Deployment and Conversion

Use this sub-skill when the user has trained/evaluated PocketFlow checkpoints and asks about exporting GraphDef/PB/TFLite artifacts, channel-pruned graph transformation, quantized export, graph collections, mobile deployment, or inference timing.

## Route first

- For training a model or selecting `uniform-tf`, DCP, or channel-pruning learners before export, read [compression-learners](../compression-learners/SKILL.md).
- For `path.conf`, TensorFlow 1.x setup, launch modes, or GPU probes, read [execution-config](../execution-config/SKILL.md).
- For custom model helper output names, input shapes, data formats, or detection-vs-classification contracts, read [custom-models-data](../custom-models-data/SKILL.md).

## Operating checklist

1. Confirm export prerequisites: TensorFlow 1.x with `tf.contrib.lite`, a checkpoint-like model directory, `.meta` graph file, input/output collections, and the right model helper graph.
2. Read [conversion-tools](references/conversion-tools.md) to choose the export path: plain PB/TFLite, channel-pruned PB/TFLite, quantized PB/TFLite, data-format conversion, graph collection editing, or inference timing.
3. Run [check_conversion_artifacts.py](scripts/check_conversion_artifacts.py) against the model directory before attempting TensorFlow graph conversion.
4. For `uniform-tf` deployment, confirm quantization flags and route back to [compression-learners](../compression-learners/SKILL.md) if checkpoints were not produced by the expected learner.
5. For Android/mobile notes, read [mobile-deployment](references/mobile-deployment.md). Mobile app edits are outside this skill's runnable helpers.
6. If conversion fails, read [troubleshooting](references/troubleshooting.md) before changing flags; many failures are missing collections, unsupported ops, wrong `.meta` layout, or TF1/TFLite incompatibilities.

## Bundled helper

- [check_conversion_artifacts.py](scripts/check_conversion_artifacts.py) - validates model directory artifacts and optionally attempts a TensorFlow `.meta` collection inspection when run in a compatible TF1 environment.

## Verification status

The generated skill verified conversion script flag surfaces and `tensorflow.contrib.lite` importability in a TF1.10 inspection environment. It did not run real checkpoint conversion because no small checkpoint fixture was available and conversion depends on trained model artifacts.

Files in this skill

  • SKILL.md2.7 KB
  • references/conversion-tools.md3.9 KB
  • references/mobile-deployment.md2.3 KB
  • references/troubleshooting.md2.7 KB
  • scripts/check_conversion_artifacts.py2.7 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.