TinyClaw: Add markdown-defined commands and skills via Terraphim shared parsing

Open
#592 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
38/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
rust
Domain
ai, backend

Research direction

Start with docs/plans/tinyclaw-openclaw-parity-design-2026-02-27.md and the existing Terraphim frontmatter/command parsing patterns. Then inspect crates/terraphim_tinyclaw/src/commands/, skills/markdown.rs, agent/agent_loop.rs, and main.rs, along with the shared parser modules. Done means markdown commands and skills load and execute, metadata is documented with examples, and tests cover parse failures, validation, and successful execution.

Written by the indexing model from the issue text.

Description

architecture enhancement

Summary

Add markdown-defined commands and markdown-defined skills to TinyClaw, leveraging Terraphim’s existing frontmatter/command parsing patterns.

Extend Existing Terraphim Functionality

  • Reuse Terraphim markdown frontmatter parsing/runtime patterns.
  • Adjust existing Terraphim crate boundaries/features if needed.
  • Avoid new one-off TinyClaw-only parser implementations.

Implementation Notes

  • crates/terraphim_tinyclaw/src/commands/ (new)
  • crates/terraphim_tinyclaw/src/skills/markdown.rs (new)
  • crates/terraphim_tinyclaw/src/agent/agent_loop.rs
  • crates/terraphim_tinyclaw/src/main.rs
  • terraphim shared parser/runtime module(s) as needed

Acceptance Criteria

  • TinyClaw loads markdown command definitions from configured directory.
  • Slash command dispatcher can execute markdown-defined commands.
  • TinyClaw can load markdown-defined skills (in addition to JSON skills).
  • Format and metadata are documented with examples.
  • Tests cover parse failures, validation, and execution happy paths.

References

  • docs/plans/tinyclaw-openclaw-parity-design-2026-02-27.md (Step 3)
Dominant language
Rust
Stars
62
Forks
5
Avg merge
2h 27m
Merged PRs (30d)
1

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from terraphim/terraphim-ai

All issues in terraphim/terraphim-ai

Similar issues

More Rust issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.