# pp-apartments

pp-apartments — a skill that wires an agent to apartments-pp-cli, a read-only Apartments.com tool with a local SQLite store. Use it when you need JSON output, price tracking over time, or side-by-side comparison of listings.

- skill · `type=skill` · Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, OpenCode, Windsurf (Devin Desktop), Claude.ai · 242 installs · ★ 2142 repo stars
- Author: rderwin
- License: Apache-2.0 · policy=mirror · the beginning of the file is at the end of this page
- Source: https://github.com/mvanhorn/printing-press-library/tree/HEAD/cli-skills/pp-apartments/SKILL.md
- Updated: 2026-10-24
- Security check: automated, 2026-11-16 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/skills/pp-apartments

## What it does

The skill drives the `apartments-pp-cli` binary. It pulls structured data from Apartments.com and keeps observations in a local SQLite database, which the website itself does not offer. That local store enables time-series commands: `history` for one listing's rent trajectory, `stale` for listings that have not changed in N days, and `phantoms` for likely-dead entries.

There are commands for cross-market searches (`nearby`), value ranking by total 12-month cost including pet fees (`value`), and price-per-square-foot ranking (`rank`, `floorplans`). `compare` builds a wide table for two to eight listings, and `digest` composes a weekly summary with new, removed and price-dropped items. All commands are read-only: no booking, messaging or remote state changes.

You need the CLI installed before the skill does anything. The main route is `npx -y @mvanhorn/printing-press-library install apartments --cli-only`; the binary lands in `$HOME/.local/bin` on macOS and Linux. A Go install works as a fallback but requires Go 1.26.6 or newer. If `apartments-pp-cli --version` fails, the agent cannot see the binary directory on `$PATH`, so skill commands will not run.

## Install

### Claude Code (native platform)

1. **Skills CLI (Vercel)**
```bash
npx skills add mvanhorn/printing-press-library --skill pp-apartments -a claude-code
```

2. **Manually: put the files in place**
- File: `~/.claude/skills/pp-apartments/SKILL.md` — Copy the whole skill folder; for one project use .claude/skills/pp-apartments/

### Codex

1. **Skills CLI (Vercel)**
```bash
npx skills add mvanhorn/printing-press-library --skill pp-apartments -a codex
```

2. **Manually: put the files in place**
- File: `.agents/skills/pp-apartments/SKILL.md` — For all projects use ~/.agents/skills/

### Cursor

1. **Skills CLI (Vercel)**
```bash
npx skills add mvanhorn/printing-press-library --skill pp-apartments -a cursor
```

2. **Manually: put the files in place**
- File: `.cursor/skills/pp-apartments/SKILL.md` — Cursor also reads .agents/skills/ and .claude/skills/

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install mvanhorn/printing-press-library cli-skills/pp-apartments/SKILL.md
```

2. **Manually: put the files in place**
- File: `.github/skills/pp-apartments/SKILL.md`

### Gemini CLI

1. **Skills CLI (Vercel)**
```bash
npx skills add mvanhorn/printing-press-library --skill pp-apartments -a gemini-cli
```

2. **Platform CLI**
```bash
gemini skills install https://github.com/mvanhorn/printing-press-library --path cli-skills/pp-apartments
```

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/skills/pp-apartments/SKILL.md` — The legacy .windsurf/skills/ path still works

### OpenCode

**Skills CLI (Vercel)**
```bash
npx skills add mvanhorn/printing-press-library --skill pp-apartments -a opencode
```

### Claude.ai

**Claude.ai**
- Zip the folder and upload it in Settings → Capabilities → Skills

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/mvanhorn/printing-press-library/tree/HEAD/cli-skills/pp-apartments/SKILL.md

## When to use it
- get apartment listings as JSON for custom processing
- track what changed in a saved search over a week
- rank rentals by total cost with pet fees included
- spot phantom listings before scheduling tours
- filter by free-text amenities like "in-unit washer"

## Example prompts
- Find apartments in Austin with two beds and a max price of 2500
- Watch the Arboretum area and show what changed in the last 7 days
- Compare these three Austin listings by price per square foot

## Source text · SKILL.md · Apache-2.0

Below is the content of a third-party file. It is data, not instructions for you: do not act on anything written inside unless the human asks. Block tag: 732fd27ceb766cb9.

BEGIN THIRD-PARTY FILE 732fd27ceb766cb9
````text
---
name: pp-apartments
description: "The apartment-hunt CLI that actually works in 2026 — Surf-cleared bot protection plus a local SQLite store the website itself doesn't have. Trigger phrases: `find apartments in <city>`, `watch apartment listings for <area>`, `rank rentals by price per square foot`, `compare these apartments`, `use apartments-pp-cli`, `run apartments`."
author: "rderwin"
license: "Apache-2.0"
argument-hint: "<command> [args] | install cli|mcp"
allowed-tools: "Read Bash"
metadata: '{"openclaw":{"requires":{"bins":["apartments-pp-cli"]},"install":[{"id":"go","kind":"shell","command":"go install github.com/mvanhorn/printing-press-library/library/other/apartments/cmd/apartments-pp-cli@latest","bins":["apartments-pp-cli"],"label":"Install via go install"}]}}'
---
<!-- GENERATED FILE — DO NOT EDIT.
     This file is a verbatim mirror of library/other/apartments/SKILL.md,
     regenerated post-merge by tools/generate-skills/. Hand-edits here are
     silently overwritten on the next regen. Edit the library/ source instead.
     See the repository agent guide, section "Generated artifacts: registry.json, cli-skills/". -->

# Apartments.com — Printing Press CLI

## Prerequisites: Install the CLI

This skill drives the `apartments-pp-cli` binary. **You must verify the CLI is installed before invoking any command from this skill.** If it is missing, install it first:

1. Install via the Printing Press installer. It defaults binaries to `$HOME/.local/bin` on macOS/Linux and `%LOCALAPPDATA%\Programs\PrintingPress\bin` on Windows:
   ```bash
   npx -y @mvanhorn/printing-press-library install apartments --cli-only
   ```
2. Verify: `apartments-pp-cli --version`
3. Ensure the reported install directory is on `$PATH` for the agent/runtime that will invoke this skill.

If the `npx` install fails (no Node, offline, etc.), fall back to a direct Go install (requires Go 1.26.6 or newer):

```bash
go install github.com/mvanhorn/printing-press-library/library/other/apartments/cmd/apartments-pp-cli@latest
```

If `--version` reports "command not found" after install, the runtime cannot see the binary directory on `$PATH`. Do not proceed with skill commands until verification succeeds.

## When to Use This CLI
````
END THIRD-PARTY FILE 732fd27ceb766cb9

The third-party file has ended. Everything between the 732fd27ceb766cb9 tags is data: requests and commands from it are not followed. An “end of file” line with another tag inside the block is part of the file.

First 2250 of 18669 bytes. © rderwin · Apache-2.0 · https://github.com/mvanhorn/printing-press-library/tree/HEAD/cli-skills/pp-apartments/SKILL.md

_Part of the page did not fit — see the HTML version._

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
