Skip to content
Back to skills

Iwe

ASecurity

The iwe CLI reference for this workspace — filtering and counting documents by frontmatter, reading a document or the graph, updating fields, renaming and deleting without breaking links, and validating. Use before running an iwe query or restructuring documents, or when an iwe command fails.

  • 6 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added November 15, 2026
ai-agentsgobashgit

Works with

  • cli

Security analysis

A100/100

Scanned November 15, 2026

npx -y skills add iwe-org/marketing-workspace --skill iwe --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Iwe?

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

Security grade badge for Iwe
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/iwe-org-iwe-marketing-workspace/badge)](https://www.skillsdirectory.com/skills/iwe-org-iwe-marketing-workspace)

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: iwe
description: The iwe CLI reference for this workspace — filtering and counting documents by frontmatter, reading a document or the graph, updating fields, renaming and deleting without breaking links, and validating. Use before running an iwe query or restructuring documents, or when an iwe command fails.
---

# The iwe CLI

Every command runs from the workspace root. A document's key is its
extension-less path (`data/product`, `data/posts/hn/2026-08-01-launch`).

``` bash
iwe find --filter '{type: community, stage: planned}' -f json   # filter docs (YAML expr)
iwe find --filter 'stage: draft' -f keys                        # keys only
iwe count --filter '{type: post, stage: published}'             # count matches
iwe retrieve -k data/product                                     # read a doc
iwe tree -d 2                                                    # graph overview: every hub and its members
iwe tree -k data/communities                                     # one hub's subtree
iwe update -k <key> --set stage=published --set 'published="2026-08-01"'
iwe rename data/drafts/hn/x data/posts/hn/x                      # move; references auto-update
iwe delete data/notes/x                                          # delete; inclusion links removed
iwe schema validate                                              # validate all bound docs
```

Filters are YAML (`$eq`, `$ne`, `$in`, `$gte`, `$exists`, …), not jq. On `$key`
there is `$startsWith` but no `$endsWith`, regex or glob: to act on keys by
suffix, list them with `find` and pass each to the command. Structural anchors:
`--includes`, `--included-by`, `--references`, `--referenced-by`, `--roots`.
`--references K` finds the documents that link to K; `--referenced-by K` finds
the documents K links to. `data/index.md` holds link bullets, not inclusion
links, so every hub is a root and `iwe tree -k data/index` prints one line.

Post paths are `data/drafts|posts/<platform>/YYYY-MM-DD-<slug>`, with Reddit
nested per subreddit (`AGENTS.md`, *What goes where*).

## Rules

- Move and delete with `iwe rename` and `iwe delete`, never `mv` or `rm`: they
  update every link in the graph. `iwe delete` removes inclusion links to the
  document and turns inline links to it into plain text, so remove the
  leftover bullet or sentence yourself. Check the result afterwards — with
  `git diff` in a git repository, otherwise by re-reading the files the command
  listed.
- Delete several documents one command each; a `--filter` delete of documents
  that link to each other can fail part-way.
- `iwe schema validate` must pass after every change;
  `iwe schema validate --explain` shows which schema a document is bound to
  when a result is unexpected.

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.

View all in ai-agents →

Comments

Loading comments…

Newsletter

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