Rename skill flow→clawflow + template docs ({{ inputs | json }}); v1.2.5#40
Merged
Conversation
…arn against code-node serialization
Agents were adding a redundant `code` node (run: JSON.stringify(state.inputs)
→ {{ raw_body }}) to put a full payload into a task/prompt, because the
Templates section only showed field access and buried the `json` filter in a
table — never connecting it to the "dump the whole body" use case.
- Add `{{ inputs }}` (auto-JSON) and `{{ inputs | json }}` (explicit) examples,
with a note that bare object/array refs render as JSON, not [object Object].
- Add a "Common mistake" callout: don't use a code node just to serialize state
for a template — use `{{ x | json }}`.
Skill names are effectively global identifiers, so the generic `flow` risked collision/ambiguity. Rename to match the plugin id (`clawflow`): - skills/flow → skills/clawflow - manifest skills path + frontmatter name → clawflow - bump 1.2.4 → 1.2.5
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Two changes, released as 1.2.5:
1. Rename skill
flow→clawflowSkill names are effectively global identifiers, so the generic
flowriskedcollision/ambiguity. Renamed to match the plugin id:
skills/flow→skills/clawflowopenclaw.plugin.jsonskills path + SKILL.md frontmattername→clawflow2. Template docs: whole-payload dumps
Agents were adding a redundant
codenode (JSON.stringify(state.inputs)→{{ raw_body }}) to put a full payload into a task, because the Templatessection only showed field access and buried the
jsonfilter. Added:{{ inputs }}/{{ inputs | json }}whole-payload examples + a note thatbare object refs render as JSON (not
[object Object]).codenode.(Companion: clawnify CLAWNIFY-TOOLS.md updated to reference the
clawflowskill.)