Skip to content
Back to skills

Ap Primitives

ASecurity

Quick cheatsheet for `ap` CLI primitives (orient, search, read --symbol/--hashline, splice, sieve, guard, baton, recall).

  • 2 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added December 5, 2026
ai-agentsgobash

Works with

  • cli

Security analysis

A100/100

Scanned December 5, 2026

npx -y skills add xgbtxy/ap --skill ap-primitives --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Ap Primitives?

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

Security grade badge for Ap Primitives
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/xgbtxy-ap-primitives/badge)](https://www.skillsdirectory.com/skills/xgbtxy-ap-primitives)

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: ap-primitives
description: Quick cheatsheet for `ap` CLI primitives (orient, search, read --symbol/--hashline, splice, sieve, guard, baton, recall).
---

# Agent Primitives (`ap`) Cheatsheet

Use `ap` to navigate, read, edit, and verify codebases with minimal context churn.

## Core Commands

```bash
# 1. Workspace orientation (<15ms structural map)
ap orient .

# 2. Filtered & AST-aware search
ap search "fn main" . --code-only --no-tests
ap search --ast "fetch($URL, $$$)" .

# 3. Symbol-level or Hashline-anchored reads
ap read --symbol handle_request src/server.rs
ap read --hashline src/server.rs --start 1 --end 80

# 4. Safe atomic edits
ap splice apply --hashline <patch-file>

# 5. Compressed command output & 6-gate verification
ap sieve run -- cargo test --workspace
ap guard verify
```

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.