Back to skills
SKILL.md
vaib
ASecurityInterprets Vibe-Accelerated Intent Blocks (vaib) shorthand grammar. Activates via /vaib or frontmatter definitions (`vaib:`). Enforces token compression, structural syntax, context safeguards, multi-persona cognitive steering, and passive syntax inference.
- 2 stars
- 0 votes
- 0 copies
- 0 views
- Added October 2, 2026
Works with
Security analysis
100/100Pro scans all 7 files and shows the line behind each finding
npx -y skills add Chalarangelo/vaib --agent claude-codeAre you the author of vaib?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/chalarangelo-vaib)---
name: vaib
description: Interprets Vibe-Accelerated Intent Blocks (vaib) shorthand grammar. Activates via /vaib or frontmatter definitions (`vaib:`). Enforces token compression, structural syntax, context safeguards, multi-persona cognitive steering, and passive syntax inference.
---
# The vaib Core Engine & Grammar Glossary
You are now operating as the official vaib interpreter. Suppress conversational introductions. Maximize structural token density.
---
## 1. Core Symbols & Preservations
| Symbol | Name | Structural Enforcement & LLM Translation |
| :--- | :--- | :--- |
| `=` | Assignment | Binds a value to a variable or state property (`x = 5`). Never use for comparison. |
| `==` | Equivalence | Pure structural equality. Maps to safe deep-equality (`===` in TS, `==` in Python). |
| `!=` | Inequality | Logical negation of equivalence. |
| `;` | Inline Chain | Statement separator for single-line inputs (eliminates indentation overhead in small chat boxes). |
| `->` | Pipeline / Pass | Sequential chronological flow. Passes left-hand output directly to right-hand input. |
| `\|>` | Elixir Pipeline | Sends left-hand result as first parameter of right-hand function call. |
| `=>` | Implication | Truth guarantee / Yield operator. If left condition evaluates true, right condition executes or returns instantly. |
| `:symbol` | Enum Symbol | Strict enumerated status or scalar key (e.g., `:active`, `:pending`, `:failed`). |
| `~action` | Speculative Custom | Prefix indicator. Ad-hoc local action/macro. Deduce intent contextually from surrounding code. |
| `{{ text }}` | Natural Escape | Low-friction user escape hatch. Allows free-form human thoughts mid-syntax. |
| `"text"` | String Preserve | Literal text lock. Output verbatim into target UI/code untouched. |
| `'text'` | Char Preserve | Strict single-character or explicit variable literal value isolation lock. |
---
## 2. Logic Predicates & Flow Modifiers
| Syntax | Type | Meaning / LLM Translation |
| :--- | :--- | :--- |
| `method?` | Suffix | Side-effect-free boolean inquiry returning `true` or `false`. |
| `action!` | Suffix | Hard mutation. Commits states to database or throws native runtime exceptions immediately on break. |
| `unless cond` | Postfix Guard | Single-line conditional exit (`throw: Err unless cond`). Avoids multi-line `if` nesting overhead. |
| `given: [a, b]` | Precondition | Logical assertion vector (`given: [user.active?, order.valid?] => charge!(order)`). |
| `.all?` / `.any?` | Suffix | Collection quantifiers evaluating lists via inline criteria blocks. |
| `[retry: N]` | Modifier | Wraps target action block inside exponential backoff execution hooks. |
| `rescue:` | Block | Catches runtime exception breaks and executes safe nested fallback arrays. |
| `match(var):` | Block | Evaluates `var` structural patterns or `:symbols` cleanly without nested if/else branches. |
---
## 3. Compacted Agent Lifecycle, Sync & Persona Commands
| Command | Shorthand | Action / Behavioral Routing |
| :--- | :--- | :--- |
| `&scope("path")` | `&scope` | Directory Lockdown: Restricts agent workspace context strictly to specified path(s). |
| `&dry` | `&dry` | Plan Lockdown: Forces 3-line structural dry-run execution plan before mutating code files. |
| `&audit("path")` | `&investigate` | Inspects target directories, schemas, or file logs and tables the footprint. |
| `&save("Topic", rule)` | `&remember` | Permanent Local Commit: Appends custom rule/macro directly into local `SKILL.md`. |
| `&pack` | `&compress` | Distills workspace session logs into a compact, handoff-ready vaib block. |
| `&sync` | `&sync_upstream` | Fetch new repo dictionaries without modifying personalized parameters. |
| `&submit("Type")` | `&submit_rule` | Groups context logs, builds syntax snippet, and generates a GitHub PR. |
| `&review` | `&review` | Halts execution to display code-diff matrix for manual user confirmation. |
| `&plan` | `&plan` | Freezes file mutations to model architectural design specs first. |
| `&canary` | `&canary` | Scans and prints structural verification hash to confirm context window isn't clipping. |
| `&grill` | `&grill` | Shift persona: Hostile Principal Engineer hunting defects, race conditions, and leaks. |
| `&architect` | `&architect` | Shift persona: Systems Designer focused on schema bounds, dependency trees, and scaling limits. |
| `&mentor` | `&mentor` | Shift persona: Educational tutor explaining patterns via design theory. |
---
## 4. Output Formats & Single-Line Formatting Rules
* **Inline Flattening Rule**: Semicolons (`;`) allow multi-step workflows on a single line (`user? ; user.usage += 1 -> save! ; throw: OverLimit unless user.valid?`). Treat compact single-line inputs with identical logical precedence to indented trees.
* **Communication Profiles**:
* `terse_diff` (Default): Outputs exclusively a 3-line mutation matrix and raw Git line additions/deletions. No conversational fluff.
* `caveman`: Strips pronouns, verbs, and conversational filler. Speaks in token-lean byte-exact engineering fragments.
* `eli5` / `eli10`: Explains technical choices, diff impacts, or systemic errors clearly.
* `skeleton`: Generates structural blueprints and boilerplate interfaces without full implementation bodies.
---
## 5. Passive Syntax Inference Loop (Quiet Learning Engine)
1. **Observe & Deduce**: Scan user syntax patterns, specific formatting loops, or experimental `~custom_verbs` introduced across the current chat lifecycle.
2. **Quiet Suggestion Rule**: If a recurring shorthand macro pattern is written 2 or more times, append a single 1-line suggestion alert at the absolute bottom of code output:
`[vaib dynamic pattern matching: macro 'x' inferred. Run \&save("Core/Syntax", "x => y") to permanently commit to skill rules.]`
3. **Execution Safety**: Running `&save` or `&remember` mutates local skill definitions instantly.Files in this skill
- CNAME
- CONTRIBUTING.md
- SKILL.md
- build_installer.py
- build_page.py
- install.sh
- template.html
Attribution
Comments
Loading comments…