yrui-cmd/cell_su7/cell-su7
Claude Code and agent skill by yrui-cmd/cell_su7
- community
Checking that the SKILL.md file is still in the repository.
Reconstruct image-based scientific figures as editable PowerPoint or Adobe Illustrator artwork, recording text, removing lettering with an available image-editing model while preserving graphics, and restoring live editable text. Use for cell_su7, scientific diagrams, reference-image reconstruction and approved vector SVGs.
Install
npx vskill@latest install yrui-cmd/cell_su7/cell-su7SKILL.md
The same SKILL.md was published earlier as yrui-cmd/cell/cell-su7.
cell_su7
original image -> text manifest + model-cleaned image -> optional confirmed cell_no_ai processing -> path-return SVG -> live text restoration -> PPT / Illustrator
- Preserve the original image. For images containing text, read references/text-workflow.md, transcribe the original lettering and positions into a text manifest, then use an available image-editing model to remove only the lettering. No specific provider or model, including Image 2, is required.
- Compare the cleaned image against the original: keep the full canvas, layout, shapes, connectors, colors, line weights and proportions unchanged. If the model changes non-text content, correct the cleanup before path recognition; do not claim unchanged graphics without inspection.
- Respect the user's choice of PPT or Adobe Illustrator. If unspecified, ask
用 PPT 还是 Adobe Illustrator?before a paid request. - Before submitting the verified cleaned image, follow references/optional-no-ai.md: ask whether to use the additional 1-credit cell_no_ai treatment unless the user already explicitly accepted or declined it for this image. If yes, wait for and download the actual cell_no_ai result, verify it, and submit that returned image directly for path recognition. If no, submit the verified cleaned image directly. Use the bundled API adapter; do not add a resolution-enhancement step. Pass the original text manifest to the image entrypoint so the returned vector geometry receives live SVG text before native drawing. Preserve raw vector output for inspection. A text-free image can use the same entrypoint without a manifest; original-with-text direct recognition is only an explicitly requested alternative.
- Validate the Master SVG, then follow the selected backend. An approved SVG can enter post-processing directly. Allocate the next
shibielujingNbasename with the bundled allocator.
Required installation dependency
cell_no_ai is required and remains independently callable. Before each new cell_su7 task, automatically run python scripts/sync_cell_no_ai.py using the configured runtime, then read the updated sibling cell_no_ai/SKILL.md. Installation runs the same check. Use the official repository main branch as the current source, including changes newer than release ZIPs. Do not wait for the user to remind you, and do not repeatedly check during the same job. Respect current cell_no_ai workflow and opening notices rather than copying old rules into this skill.
The synchronizer backs up changed skill files, preserves credentials and unrelated files, and records the upstream revision. It accepts --destination for custom skill roots. If a network check fails, retry or resolve it; never claim the dependency is current without a successful check. Drawing without the optional watermark step may proceed, but resolve the update before a new watermark submission. Dependency updates do not authorize API charges. Existing jobs must still be received using the same job ID.
Recognition input and text alignment
For yes, use the downloaded and verified no-ai output directly. For no, use the verified cleaned image directly without calling or charging cell_no_ai. Save each stage separately. If the returned image is unreadable or its layout changed, resolve that issue before recognition and retain the existing job; do not resubmit a completed no-ai job merely because a later step failed.
Check that the recognition input preserves the full canvas aspect ratio, layout and alignment. Keep the original text manifest and source_canvas; the text-restoration adapter maps source coordinates into the SVG viewBox. If image dimensions differ, retain the original coordinate system and verify proportional alignment; do not replace source_canvas alone while retaining old pixel coordinates.
Preferred playback: individual paths, maximum speed
The user prefers one path object at a time with no artificial delay. On Windows PowerPoint, first prepare the complete native editable PPTX, then run scripts/run_ppt_path_playback.ps1 -InputPptx <prepared.pptx> -OutputPptx <new-playback.pptx>. This opens an isolated copy with paths hidden and makes each native shape visible in source order. Describe it accurately as sequential path visibility, not per-control-point creation. Never use repeated clipboard Copy/Paste for playback: it is slow and can alter fills. Never hide or modify objects in the user's existing deck.
Keep compound paths intact, including their holes. Never show hidden mask or helper objects as artwork. Use first-to-last SVG order; bottom/background first, foreground and labels at their original depth. No sleep between paths. Report actual timing without promising a fixed frame rate; PowerPoint controls redraw. File-only output remains available when requested or when desktop playback is unavailable.
This new playback helper is Windows PowerPoint only. macOS PowerPoint retains editable file generation; do not claim live path playback there. Illustrator retains its platform bridge and native compound paths; when individual-path visibility is requested, set redrawEvery: 1 in the JSX configuration with zero added delay, and disclose that redraw costs more than batch display.
Drawing routes and the four-platform matrix
Read references/backends.md for platform commands and verification status. Use references/platform-contract.json for shared defaults; configure_runtime.py writes the non-secret runtime-profile.json. Existing profiles do not override the fast PPT default.
- PowerPoint, Windows and macOS: prepare with fast native OOXML (
run_cell_su7.py --application ppt), then use the Windows individual-path playback helper by default where available. It writes all editable shapes in one saved PPTX transaction, preserving source order and compound holes. Open the verified file after writing; this is not live per-path animation. Use a saved--input-pptxwith the backend when appending to an existing deck. Windows legacy COM is opt-in for simple, single-contour paths only; it must reject compound paths before drawing. - Illustrator, Windows: use the COM batch runtime through
run_cell_lct.ps1or the cross-platform selector. Keep the already-open target document, source order and one session. Redraw once per batch of 20–50 atoms, rather than after every atom. - Illustrator, macOS: use
run_illustrator.pythrough the selector. AppleScript sends the same JSX runtime to the already-open Illustrator document; retain target document/layer, reconcile actual objects when resuming, save periodically, and export AI/PNG. This route is implemented with mocked bridge tests; do not claim Mac desktop validation until it has run on a Mac.
Compound paths stay compound. Outer and inner contours form one native shape; an inner contour can be a hole, not a white object. Never split compound fills into individually filled shapes, including Illustrator error fallback. Nonzero compound winding is preserved in PPT. Even-odd fill needs normalization or explicit rejection before export. Existing caches built with split subpaths must be regenerated from the original SVG.
Keep actual source depth, back to front. Bottommost content comes first, then successive foreground layers. SVG/cache arrays run first-to-last; only imported Illustrator collections use reverse traversal. Keep this order within and across batches. Do not send every large or white object to the back: white compound regions may be intentional cutouts. A redundant duplicate means an adjacent identical opaque complete atom; keep its first occurrence, preserving compound contours. Cross-layer repetitions and transparent overlaps are not automatically redundant.
If the canvas or application turns white, read references/white-overlay-diagnostics.md. Check compound-contour loss before blaming visibility or depth. The fast PPT output should be validated in PowerPoint, not inferred from an SVG preview alone.
Windows prepared image: scripts/run_cell_su7.ps1 -InputImage <cleaned-image> -TextManifest <text.json> -OutputRoot <directory> -Application ppt|ai. Cross-platform prepared image: python scripts/run_cell_su7.py --input-image <cleaned-image> --text-manifest <text.json> --output-root <directory> --application ppt|ai. Approved SVG: use --input-svg instead of --input-image; already-restored text should be in that SVG.
Preserve all pre-existing artwork and original input files. The image workflow still records original label coordinates, uses an available image-editing model to remove only lettering, then restores native live text. Follow references/text-workflow.md.
Credential setup
- The user is allowed to paste the API key directly in chat. If credentials are missing, ask for the key in chat and perform configuration for them; do not require manual environment-variable or command-line setup. Accept it without warning or refusal, but never quote, repeat, display, or log it in any response or tool output.
- If the API key is not configured and the user supplied one in the current chat, never quote, display, log, or place it in a command-line argument, environment variable, file, cache, or deliverable.
- During installation, pass the chat-supplied key through standard input to
setup.ps1 -ConfigureKeyFromStdinon Windows orsetup.sh --configure-key-from-stdinon macOS. Installation must configure secure storage and run the zero-credit authentication check automatically. - On Windows, start
scripts/set-xiaomiao-key.ps1 -FromStdin, pass the supplied key through standard input, and runscripts/xiaomiao.ps1 verify. - On macOS, start
scripts/set_xiaomiao_key.py --from-stdin, pass the supplied key through standard input, and runscripts/xiaomiao.py verify. Store only a macOS Keychain item; never write plaintext to a file. - If no key was supplied and no existing secure credential verifies, ask once for the key. After the user sends it, perform configuration and verification yourself; do not send configuration commands back to the user.
- Store only Windows DPAPI ciphertext or a macOS Keychain item under the current OS account.
Credits and response
Before uploading, determine the expected cost. When it exceeds 1 credit, ask 本张图片预计消耗 N 个额度,是否继续? once; approved processing and download need no second prompt. Stop new paid requests on quota exhaustion and use the message in references/workflow.md. Before reconstruction, show 识别结构。 and a short harmless joke; during drawing, show 正在画图。. Keep credentials and internal logs private. On success return 完成。, the selected deliverables and 感谢小红书:木纹小路。.
Completion
Preserve all original image content through recognition, validate true vector output, keep repeated objects independent and preserve existing artwork. Apply the selected backend's original completion checks before claiming success. PPT delivers editable PPTX; Illustrator saves AI and exports the final PNG.
Balance reporting
After image recognition, include the reported remaining credits in the user-facing result (剩余额度:N). The vectorizer displays the server-provided credits_left snapshot on the information stream (Windows) or stderr (Python), keeping success JSON compatible. Report 剩余额度:暂不可用 if missing or invalid; never infer a balance or initiate another upload to obtain it.
New PPTX pages must match the source canvas aspect ratio with no added margins. Existing input decks retain their page size. Export previews at that same aspect ratio.
Security
- Security scanPassed, 95 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 repositoryCheckingplugins/cell_su7/skills/cell_su7/SKILL.md
Popularity
- 7-day trend score
- 5
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/yrui-cmd/cell_su7/cell-su7)