Query Builder — Portal URL Grammar
Use when constructing or debugging search URLs for Berlin rental portals. Documents the URL grammar for each supported portal so malformed queries don't silently return garbage.
What this skill does
## Kleinanzeigen
**Base:** `https://www.kleinanzeigen.de/s-wohnung-mieten/berlin/`
**Format:** `{category}{location}{filters}/k0?{sort}`
**Filters** (path segments, `+`-joined, no spaces):
| Filter | Format | Example |
|--------|--------|---------|
| Category | `c203` | `c203` (Wohnung mieten) |
| Location | `l{city_id}` | `l3331` (Berlin) |
| Radius | `r{km}` | `r15` |
| Offer type | `anzeige:angebote` | exclude Gesuche |
| Max price | `preis::{max}` | `preis::2000` |
| Rooms | `zimmer:{min}:{max}` | `zimmer:2:4` |
| sqm | `wohnflaeche:{min}:{max}` | `wohnflaeche:55:` |
**Sort:** `sortingField=SORTING_DATE&sortingOrder=DESCENDING`
**Full example** (Mitte, ≤€2000, 2–4 rooms, ≥55sqm):
```
https://www.kleinanzeigen.de/s-wohnung-mieten/berlin/c203l3331r15+anzeige:angebote+preis::2000+zimmer:2:4+wohnflaeche:55:/k0?sortingField=SORTING_DATE&sortingOrder=DESCENDING
```
**Quirks:**
- Empty range side is fine: `preis::2000` = no minimum
- Location ID `3331` = all Berlin. No district-level IDs that work reliably — filter by district client-side after fetching
- Pagination: `&pageNum=2` appended to query string
---
## ImmoScout24
**Base:** `https://www.immobilienscout24.de/Suche/de/wohnung-mieten`
**Key params:**
| Param | Format | Example |
|-------|--------|---------|
| Geocode | `geocodes={id}` | `geocodes=1276003001011` (Mitte) |
| Max cold rent | `price=-{max}` | `price=-1300` (note dash prefix) |
| Min rooms | `numberofrooms={min}.0-` | `numberofrooms=2.0-` (note trailing dash) |
| Min sqm | `livingspace={min}.0-` | `livingspace=55.0-` |
| Sort | `sorting=2` | newest first |
| Price type | `pricetype=rentpermonth` | |
| Type | `realestatetype=apartment` | |
**Geocodes for Berlin districts:**
| District | Geocode |
|----------|---------|
| Mitte | `1276003001011` |
| Prenzlauer Berg | `1276003001023` |
| Friedrichshain | `1276003001008` |
| Kreuzberg | `1276003001012` |
| Neukölln | `1276003001018` |
| All Berlin | `1276003001` |
**Full example** (Mitte, ≤€1300 cold, ≥2 rooms, ≥55sqm):
```
https://www.immobilienscout24.de/Suche/de/wohnung-mieten?geocodes=1276003001011&price=-1300&numberofrooms=2.0-&livingspace=55.0-&sorting=2&pricetype=rentpermonth&realestatetype=apartment
```
**Feature filters** (append as extra params):
- Altbau: `constructionyear=-1949`
- Balkon: `features=BALCONY`
- EBK: `features=BUILT_IN_KITCHEN`
- Aufzug: `features=LIFT`
---
## Common Mistakes
1. **ImmoScout price format**: use `-1300` not `1300` — the dash is required for max-price semantics
2. **ImmoScout rooms format**: `2.0-` not `2` — the decimal and trailing dash are both required
3. **Kleinanzeigen location**: use `l3331` (Berlin city), not postal codes — district filtering is client-side
4. **Kleinanzeigen category**: `c203` must be present or you get all categories
5. **Pagination**: always start at page 1 / k0. Don't jump to later pages without processing earlier ones first.
Related in General
modeling-omnistudio-epc-catalog
IncludedSalesforce Industries CME EPC product-modeling skill for Product2-based catalog creation. Use when creating EPC products, configuring product attributes, building offer bundles with Product Child Items, or reviewing EPC DataPack JSON metadata for product catalog changes. TRIGGER when: user creates or updates Product2 EPC records, AttributeAssignment payloads, AttributeMetadata/AttributeDefaultValues, Offer bundles, or ProductChildItem relationships. DO NOT TRIGGER when: designing OmniScripts/FlexCards/Integration Procedures (use building-omnistudio-omniscript, building-omnistudio-flexcard, or building-omnistudio-integration-procedure), implementing Apex business logic (use generating-apex), or troubleshooting deployment pipelines (use deploying-metadata).
relationship-science-coach
IncludedUse this skill for direct, practical adult relationship coaching: couples conflict, repair, trust, marriage, dating, flirting, attachment patterns, emotional connection, sex, desire differences, eroticism, kink negotiation, affection, love languages, breakups, and long-term passion. Draw on Gottman, EFT and Hold Me Tight, attachment science, modern sex research, Perel, Nagoski, Kerner, Schnarch, Love and Stosny, and flexible love-language tools. Be concrete and low-hedge. Redirect only for imminent danger, abuse, coercive control, minors, non-consent, self-harm, stalking, or medical/legal/psychiatric decisions.
building-sf-integrations
IncludedSalesforce integration architecture and runtime plumbing with 120-point scoring. Use this skill to set up Named Credentials, External Credentials, External Services, REST/SOAP callout patterns, Platform Events, and Change Data Capture. TRIGGER when: user sets up Named Credentials, External Services, REST/SOAP callouts, Platform Events, CDC, or touches .namedCredential-meta.xml files. DO NOT TRIGGER when: Connected App/OAuth config (use configuring-connected-apps), Apex-only logic (use generating-apex), or data import/export (use handling-sf-data).
venue-templates
IncludedAccess comprehensive LaTeX templates, formatting requirements, and submission guidelines for major scientific publication venues (Nature, Science, PLOS, IEEE, ACM), academic conferences (NeurIPS, ICML, CVPR, CHI), research posters, and grant proposals (NSF, NIH, DOE, DARPA). This skill should be used when preparing manuscripts for journal submission, conference papers, research posters, or grant proposals and need venue-specific formatting requirements and templates.
let-fate-decide
IncludedDraws the 12 Houses of the Zodiac Tarot spread to inject entropy into planning when prompts are vague, ambiguous, or casually delegated. Interprets the spread to guide next steps. Use when the user says 'let fate decide', 'YOLO', 'whatever', 'idk', or other nonchalant phrases, makes Yu-Gi-Oh references, or when you are about to arbitrarily pick between multiple reasonable approaches. Prefer over ask-questions-if-underspecified when the user's tone is casual or playful rather than precision-seeking.
net-ops
IncludedCross-platform network troubleshooting (Windows, macOS, Linux) via local or remote shell. Use for: DNS broken, can't resolve hostnames, nslookup/dig works but apps fail, NRPT, WFP, scutil, /etc/resolver, systemd-resolved, /etc/resolv.conf, NetworkManager, VPN DNS leak residue (ProtonVPN/Mullvad/WireGuard/AnyConnect), AV/firewall blocking DNS or DoH, Tailscale DNS interaction, intermittent connectivity, remote diagnostics over SSH.