Pfc Vedo Postprocess logo

Pfc Vedo Postprocess

Community
Echo-aloha
pfc-vedo-postprocess

Post-process exported PFC 5.0 asphalt DEM data with vedo for particle, force-chain, crack, displacement, velocity, slice, figure, and animation workflows.

Overview

PublisherEcho-aloha
Repositoryasphalt-codex-skills-5
Skill namepfc-vedo-postprocess
Stars
26
Forks
0
Bundled files
9
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 9 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by Echo-aloha on GitHub. Read the source before you install it.

Installation

Install the Pfc Vedo Postprocess AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/Echo-aloha/asphalt-codex-skills-5/tree/main/skills/pfc-vedo-postprocess
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/Echo-aloha/asphalt-codex-skills-5.git /tmp/asphalt-codex-skills-5
mkdir -p .claude/skills
cp -r /tmp/asphalt-codex-skills-5/skills/pfc-vedo-postprocess .claude/skills/pfc-vedo-postprocess
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Pfc Vedo Postprocess in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Pfc Vedo Postprocess on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Pfc Vedo Postprocess is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

PFC x vedo Post-processing Skill

Use this skill to turn PFC/DEM data into reproducible vedo visualizations: particles, contacts/force chains, cracks, vector fields, slices, and time-series animations.

Scope and Routing

Handle the visualization layer directly:

  • Export or load particle/contact/crack/field data.
  • Build vedo scenes with reproducible camera, colors, labels, scalar bars, resolution, and output paths.
  • Produce publication-quality screenshots, MP4/GIF animations, and reusable Python scripts.

Route these parts elsewhere or ask for upstream details:

  • Physical definitions such as Love-Weber stress, fabric tensor, crack classification criteria, or c/phi parameter extraction belong to the user's PFC modeling workflow, not this visualization skill.
  • Export from PFC 5.0 with project FISH/text routines first; this skill does not bundle a newer object-API exporter.
  • AE/moment-tensor beachball interpretation is a separate AE post-processing topic; only render the exported locations/tensors here if already provided.

Default Workflow

  1. Identify the exported data path.
    • Inspect .npz, .csv, .vtp, or folder naming before writing render code.
    • Require numeric NPZ arrays; object/pickled arrays are rejected.
  2. Confirm or infer the schema.
    • Typical arrays: pos, rad, disp, vel, grp, c_p1, c_p2, c_fn, c_bonded, cr_pos, cr_nrm, cr_size, cr_type.
    • For 2D models, promote coordinates to 3D by setting z=0.
  3. Start lightweight.
    • Sample large models ([::N]), use low sphere resolution, or render points while tuning the camera and color scale.
    • Switch to full-resolution spheres/tubes only after the view is stable.
  4. Make rendering reproducible.
    • Write camera, color maps, scalar ranges, resolution, force sign convention, and output names into a config file or constants block.
    • Use fixed global vmin/vmax for animations so colors do not flicker frame to frame.
  5. Export useful outputs.
    • Save scripts next to outputs, usually balls_disp.png, force_chain.png, cracks.png, slice.png, and pfc_loading.mp4.
    • Prefer offscreen=True for batch rendering and automation.

Data Conventions

Use the schema in references/export-schema.md when creating or reading snapshots. If the user's files differ, adapt the loader and document the mapping in the script header.

Important checks:

  • Units: PFC and vedo both use Cartesian coordinates; preserve SI units unless the user requests scaling.
  • Force sign: confirm whether positive normal force means compression or tension for the user's PFC version/export.
  • Normals: normalize crack normals before orienting discs.
  • Empty arrays: contact/crack arrays may be empty early in a simulation; handle them without crashing.

Visualization Recipes

Read references/vedo-recipes.md when writing code for:

  • Particles colored by displacement, velocity, stress, or group.
  • Force chains as line/tube objects with width proportional to contact force.
  • Cracks as oriented discs colored by tensile/shear class.
  • Displacement/velocity vectors as arrows.
  • Cut-away or thin-slice shear-band views.

Read references/animation.md when making time-series videos.

Publication Style

Use references/colormaps.md for default color choices:

  • Sequential magnitudes: viridis by default; jet only when the user wants high visual contrast.
  • Diverging signed values: coolwarm or RdBu, centered at zero.
  • Classes/groups: Set2 or explicit named colors.

Always include the scientific meaning of colors in scalar bars, legends, titles, filenames, or captions. Make compression/tension and tensile/shear conventions explicit because those are common sources of misinterpretation.

Common Pitfalls

  • Too many particles: sample first, lower Spheres(..., res=8-12), use Points, or render offscreen.
  • Force-chain colors reversed: verify the contact normal force sign before labeling red/blue.
  • Displacement invisible: arrow/deformation vectors usually need a scale factor.
  • Animation flicker: fix camera and global scalar range.
  • Crack discs point the wrong way: normalize normals and test one obvious crack before batch rendering.
  • 2D data fails in vedo: promote (x, y) to (x, y, 0) and render with viewup='z'.

First Response Pattern

When the user asks for PFC + vedo post-processing, ask only for missing essentials:

  • Which exported PFC 5.0 files are available?
  • Target views: particles, force chains, cracks, vectors, slices, animation?
  • PFC version and force sign convention if contacts are involved.
  • Desired output folder, image resolution, and whether offscreen rendering is needed.

If the repository already contains scripts or snapshots, inspect them first and adapt existing style instead of starting from scratch.

Required Inputs

Ask for these if missing:

  • exported particle/contact/crack/field files and their schema;
  • target visualization type: particles, displacement, vectors, slices, force chains, cracks, or animation;
  • coordinate units, scalar fields, and color/size mapping rules;
  • required output formats such as PNG, SVG, PDF, MP4, or source CSV;
  • whether outputs must match a paper style or project style guide.

Local Contents

  • references/animation.md: animation workflow and camera conventions.
  • references/colormaps.md: color mapping and semantic palette rules.
  • references/export-schema.md: expected export-file schemas.
  • references/vedo-recipes.md: reusable vedo plotting recipes.
  • scripts/view_balls.py: safe numeric-NPZ particle renderer; pickle loading is disabled.
  • LICENSE and NOTICE.md: retained MIT terms and upstream provenance.

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Pfc Vedo Postprocess AI skill do?

Post-process exported PFC 5.0 asphalt DEM data with vedo for particle, force-chain, crack, displacement, velocity, slice, figure, and animation workflows.

Why use Pfc Vedo Postprocess on TypingMind?

Because you install it once and use it with any model. Pfc Vedo Postprocess is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Pfc Vedo Postprocess in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/Echo-aloha/asphalt-codex-skills-5/tree/main/skills/pfc-vedo-postprocess. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Pfc Vedo Postprocess?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Pfc Vedo Postprocess?

As many as you like. As long as a model supports skills, you can use Pfc Vedo Postprocess with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Pfc Vedo Postprocess AI skill free?

Yes. It is published on GitHub by Echo-aloha under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇