Skip to content
Back to skills

Bind

ASecurity

Bind a variable to an existing resource without creating or changing content

  • 10 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added June 6, 2026
business

Security analysis

A100/100

Scanned June 6, 2026

npx -y skills add bdambrosio/Cognitive_workbench --skill bind --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Bind?

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

Security grade badge for Bind
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/bdambrosio-bind/badge)](https://www.skillsdirectory.com/skills/bdambrosio-bind)

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: bind
type: primitive
description: Bind a variable to an existing resource without creating or changing content
---

# Bind

## INPUT CONTRACT

- `target` (required): `$variable`, resource ID, or named resource
- `out` (required): Destination `$variable`

**REQUIREMENTS:**
- Target must reference an existing resource
- `out` must be a `$variable`

## BEHAVIOR

Aliases an existing Note/Collection/Relation to a new variable. Bind does **not** mutate resources — it creates a new name pointing to the same underlying resource.

Use cases:
- Rename a variable for clarity (e.g., `$draft` → `$final_report`)
- Create a stable reference before a variable is rebound
- Reference a resource by ID when you don't have it in a variable

## EXAMPLES

```json
{"type": "bind", "target": "$draft", "out": "$final_report"}
```
```json
{"type": "bind", "target": "Note_42", "out": "$summary"}
```

## OUTPUT

Returns `success`. The `out` variable now points to the same resource as `target`.

## FAILURE SEMANTICS

- Target resource not found
- Missing `target` or `out` parameter

## ANTI-PATTERNS

- Using `bind` to copy content — bind creates an alias, not a copy. Both variables point to the same resource.
- Using `bind` when `load` is needed — bind doesn't return content to the planner context, it only creates a variable alias.

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.

Comments

Loading comments…