{"_id":"@codecell-germany/facilioo-agent-skill","_rev":"7-46cc8c1777526d7fd79240e1f93fbc58","name":"@codecell-germany/facilioo-agent-skill","dist-tags":{"latest":"0.1.6"},"versions":{"0.1.0":{"name":"@codecell-germany/facilioo-agent-skill","version":"0.1.0","keywords":["facilioo","property-management","hausverwaltung","agent","codex-skill","cli"],"author":{"name":"Nikolas Gottschol"},"license":"MIT","_id":"@codecell-germany/facilioo-agent-skill@0.1.0","maintainers":[{"name":"codecell-germany","email":"admin@codecell.de"}],"homepage":"https://github.com/codecell-germany/facilioo-agent-skill#readme","bugs":{"url":"https://github.com/codecell-germany/facilioo-agent-skill/issues"},"bin":{"facilioo-agent-cli":"dist/index.js","facilioo-agent-skill":"dist/installer.js"},"dist":{"shasum":"17e051951d348924223abb2de363b8853267cb46","tarball":"https://registry.npmjs.org/@codecell-germany/facilioo-agent-skill/-/facilioo-agent-skill-0.1.0.tgz","fileCount":32,"integrity":"sha512-zL7SHo4kAKkiKxPZ2DQAKjnUK7EISQa3qH5TmMHFw7j5WoR9lTKmS93DTXIJjd0ryALHqoPzx5WrbUPa3h9F/A==","signatures":[{"sig":"MEUCIDKfYfM76C+ybmBEvZbs5iJTW5OcuRdNDNUJMDx1tgfwAiEA1Wm55cOL7sO8k4rBTuPhVb8lYx7jNCHhBY1sEyIAlnM=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":145325},"engines":{"node":">=20"},"gitHead":"e23b9ee5df343e0c98cf3303b53f51337eefcbde","private":false,"scripts":{"test":"vitest run tests/unit","build":"npm run clean && tsc -p tsconfig.json && node scripts/ensure-executable.js","clean":"node scripts/clean.js","prepack":"npm run build && npm run test","test:unit":"vitest run tests/unit","typecheck":"tsc --noEmit"},"_npmUser":{"name":"codecell-germany","email":"admin@codecell.de"},"repository":{"url":"git+https://github.com/codecell-germany/facilioo-agent-skill.git","type":"git"},"_npmVersion":"11.12.1","description":"Agent-first Facilioo CLI and Codex skill for automating property management workflows in Facilioo","directories":{},"_nodeVersion":"25.9.0","dependencies":{"commander":"^14.0.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"^4.0.7","typescript":"^5.9.2","@types/node":"^25.2.3"},"_npmOperationalInternal":{"tmp":"tmp/facilioo-agent-skill_0.1.0_1775937616186_0.8566544311851292","host":"s3://npm-registry-packages-npm-production"}},"0.1.1":{"name":"@codecell-germany/facilioo-agent-skill","version":"0.1.1","keywords":["facilioo","property-management","hausverwaltung","agent","codex-skill","cli"],"author":{"name":"Nikolas Gottschol"},"license":"MIT","_id":"@codecell-germany/facilioo-agent-skill@0.1.1","maintainers":[{"name":"codecell-germany","email":"admin@codecell.de"}],"homepage":"https://github.com/codecell-germany/facilioo-agent-skill#readme","bugs":{"url":"https://github.com/codecell-germany/facilioo-agent-skill/issues"},"bin":{"facilioo-agent-cli":"dist/index.js","facilioo-agent-skill":"dist/installer.js"},"dist":{"shasum":"2dd7d1f371f72477fb40010ea5edbbb3474a043f","tarball":"https://registry.npmjs.org/@codecell-germany/facilioo-agent-skill/-/facilioo-agent-skill-0.1.1.tgz","fileCount":32,"integrity":"sha512-BxluZx6R/KmfAfiY19Eyufqaa0bXF6L1S9r1k1kLFuuwAIMSqSjWfPP1D9XFYkW/irF5NJ3he0KjauUASFE99Q==","signatures":[{"sig":"MEQCIC/3yDr1LC7VYLHIOkexzHBe9d7UqzqsQfffvWG9K904AiBVfL0GY7YUkPUxShsJWMvNX7/AGe36auceFwEkOav3gA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":145325},"engines":{"node":">=20"},"gitHead":"ec9073ab3b0b1486ff7c7ba6134139990a8e3668","private":false,"scripts":{"test":"vitest run tests/unit","build":"npm run clean && tsc -p tsconfig.json && node scripts/ensure-executable.js","clean":"node scripts/clean.js","prepack":"npm run build && npm run test","test:unit":"vitest run tests/unit","typecheck":"tsc --noEmit"},"_npmUser":{"name":"codecell-germany","email":"admin@codecell.de"},"repository":{"url":"git+https://github.com/codecell-germany/facilioo-agent-skill.git","type":"git"},"_npmVersion":"11.12.1","description":"Agent-first Facilioo CLI and Codex skill for automating property management workflows in Facilioo","directories":{},"_nodeVersion":"25.9.0","dependencies":{"commander":"^14.0.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"^4.0.7","typescript":"^5.9.2","@types/node":"^25.2.3"},"_npmOperationalInternal":{"tmp":"tmp/facilioo-agent-skill_0.1.1_1775937763565_0.9101011510011423","host":"s3://npm-registry-packages-npm-production"}},"0.1.2":{"name":"@codecell-germany/facilioo-agent-skill","version":"0.1.2","keywords":["facilioo","property-management","hausverwaltung","agent","codex-skill","cli"],"author":{"name":"Nikolas Gottschol"},"license":"MIT","_id":"@codecell-germany/facilioo-agent-skill@0.1.2","maintainers":[{"name":"codecell-germany","email":"admin@codecell.de"}],"homepage":"https://github.com/codecell-germany/facilioo-agent-skill#readme","bugs":{"url":"https://github.com/codecell-germany/facilioo-agent-skill/issues"},"bin":{"facilioo-agent-cli":"dist/index.js","facilioo-agent-skill":"dist/installer.js"},"dist":{"shasum":"96225bd23a3a6da8d595801d5a4adeb520d0ef5c","tarball":"https://registry.npmjs.org/@codecell-germany/facilioo-agent-skill/-/facilioo-agent-skill-0.1.2.tgz","fileCount":32,"integrity":"sha512-fy2KOzne7kxx0o3QTkoTTr3C3FA69DBH4qtBHiJmY+vsxbQQ2jb3192AeG6vXJx99GwNdEL3LcJiNILRDqJvMw==","signatures":[{"sig":"MEUCIQCj8UplWDKuzQXnOpKeSSsPIWoVYgK6kfhbTslRQgAA0gIgL2S2Z9orLMp7eZ8d2n7tTKq4rmK31iTlJ6boWHp7cT0=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":146784},"engines":{"node":">=20"},"gitHead":"abfc2ff0ce42dcfbec57e2e6f5a5a84ab9bb450f","private":false,"scripts":{"test":"vitest run tests/unit","build":"npm run clean && tsc -p tsconfig.json && node scripts/ensure-executable.js","clean":"node scripts/clean.js","prepack":"npm run build && npm run test","test:unit":"vitest run tests/unit","typecheck":"tsc --noEmit"},"_npmUser":{"name":"codecell-germany","email":"admin@codecell.de"},"repository":{"url":"git+https://github.com/codecell-germany/facilioo-agent-skill.git","type":"git"},"_npmVersion":"11.12.1","description":"Agent-first Facilioo CLI and Codex skill for automating property management workflows in Facilioo","directories":{},"_nodeVersion":"25.9.0","dependencies":{"commander":"^14.0.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"^4.0.7","typescript":"^5.9.2","@types/node":"^25.2.3"},"_npmOperationalInternal":{"tmp":"tmp/facilioo-agent-skill_0.1.2_1775938659785_0.3261019666913392","host":"s3://npm-registry-packages-npm-production"}},"0.1.3":{"name":"@codecell-germany/facilioo-agent-skill","version":"0.1.3","keywords":["facilioo","property-management","hausverwaltung","agent","codex-skill","cli"],"author":{"name":"Nikolas Gottschol"},"license":"MIT","_id":"@codecell-germany/facilioo-agent-skill@0.1.3","maintainers":[{"name":"codecell-germany","email":"admin@codecell.de"}],"homepage":"https://github.com/codecell-germany/facilioo-agent-skill#readme","bugs":{"url":"https://github.com/codecell-germany/facilioo-agent-skill/issues"},"bin":{"facilioo-agent-cli":"dist/index.js","facilioo-agent-skill":"dist/installer.js"},"dist":{"shasum":"61f65efd18afd213a1a715c8d682d4cdf1c01125","tarball":"https://registry.npmjs.org/@codecell-germany/facilioo-agent-skill/-/facilioo-agent-skill-0.1.3.tgz","fileCount":32,"integrity":"sha512-V4XhUHpv0fZ38eo5vDqGLz9M6EQbfk7r0Sm8foYRf87an4MoxyJKqe8puReN0u+zZUcR62x1MIHieGOeyuXz7w==","signatures":[{"sig":"MEUCIFELAbV1XENaEM9Z+R7ZCRDzeaNwo21xOsBViGr498atAiEA7+pOvb0lJcEMjShOxr4G8qAi5lwoT21ulNyILf5u4pA=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":154386},"engines":{"node":">=20"},"gitHead":"06e26f19f20bd516d8f2c52b6b6074859a5fdb24","private":false,"scripts":{"test":"vitest run tests/unit","build":"npm run clean && tsc -p tsconfig.json && node scripts/ensure-executable.js","clean":"node scripts/clean.js","prepack":"npm run build && npm run test","test:unit":"vitest run tests/unit","typecheck":"tsc --noEmit","test:release":"node scripts/release-smoke.js"},"_npmUser":{"name":"codecell-germany","email":"admin@codecell.de"},"repository":{"url":"git+https://github.com/codecell-germany/facilioo-agent-skill.git","type":"git"},"_npmVersion":"11.12.1","description":"Agent-first Facilioo CLI and Codex skill for automating property management workflows in Facilioo","directories":{},"_nodeVersion":"25.9.0","dependencies":{"commander":"^14.0.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"^4.0.7","typescript":"^5.9.2","@types/node":"^25.2.3"},"_npmOperationalInternal":{"tmp":"tmp/facilioo-agent-skill_0.1.3_1775940152836_0.8412690634773279","host":"s3://npm-registry-packages-npm-production"}},"0.1.4":{"name":"@codecell-germany/facilioo-agent-skill","version":"0.1.4","keywords":["facilioo","property-management","hausverwaltung","agent","codex-skill","cli"],"author":{"name":"Nikolas Gottschol"},"license":"MIT","_id":"@codecell-germany/facilioo-agent-skill@0.1.4","maintainers":[{"name":"codecell-germany","email":"admin@codecell.de"}],"homepage":"https://github.com/codecell-germany/facilioo-agent-skill#readme","bugs":{"url":"https://github.com/codecell-germany/facilioo-agent-skill/issues"},"bin":{"facilioo-agent-cli":"dist/index.js","facilioo-agent-skill":"dist/installer.js"},"dist":{"shasum":"f4aff8b220f667aea2e45f01f792f3df4e06bc23","tarball":"https://registry.npmjs.org/@codecell-germany/facilioo-agent-skill/-/facilioo-agent-skill-0.1.4.tgz","fileCount":32,"integrity":"sha512-ZOCbkpnjyB2vtV5AP8cvVpDSQmCqE44nhQy0bArNa3PX0DDYy495KlAY2yNToYUGjdq0HX1hjG7i3dybhNP6uA==","signatures":[{"sig":"MEYCIQDaR/TpEA89BCmWT3ZT9wDzqdoe8ezgk2o5wTYVTJRgxwIhAOWuXkU/EPFSaphs5elnkOHnvA+YoF9dDrCQVUdRf66t","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":164877},"engines":{"node":">=20"},"gitHead":"a0faaffdee10f267e79848d14ca95988b8e462c0","private":false,"scripts":{"test":"vitest run tests/unit","build":"npm run clean && tsc -p tsconfig.json && node scripts/ensure-executable.js","clean":"node scripts/clean.js","prepack":"npm run build && npm run test","test:unit":"vitest run tests/unit","typecheck":"tsc --noEmit","test:release":"node scripts/release-smoke.js"},"_npmUser":{"name":"codecell-germany","email":"admin@codecell.de"},"repository":{"url":"git+https://github.com/codecell-germany/facilioo-agent-skill.git","type":"git"},"_npmVersion":"11.12.1","description":"Agent-first Facilioo CLI and Codex skill for automating property management workflows in Facilioo","directories":{},"_nodeVersion":"25.9.0","dependencies":{"commander":"^14.0.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"^4.0.7","typescript":"^5.9.2","@types/node":"^25.2.3"},"_npmOperationalInternal":{"tmp":"tmp/facilioo-agent-skill_0.1.4_1775974616952_0.11638104281884831","host":"s3://npm-registry-packages-npm-production"}},"0.1.5":{"name":"@codecell-germany/facilioo-agent-skill","version":"0.1.5","keywords":["facilioo","property-management","hausverwaltung","agent","codex-skill","cli"],"author":{"name":"Nikolas Gottschol"},"license":"MIT","_id":"@codecell-germany/facilioo-agent-skill@0.1.5","maintainers":[{"name":"codecell-germany","email":"admin@codecell.de"}],"homepage":"https://github.com/codecell-germany/facilioo-agent-skill#readme","bugs":{"url":"https://github.com/codecell-germany/facilioo-agent-skill/issues"},"bin":{"facilioo-agent-cli":"dist/index.js","facilioo-agent-skill":"dist/installer.js"},"dist":{"shasum":"2f7809eefbf848b42a7312b6735e6cb2c49b0f59","tarball":"https://registry.npmjs.org/@codecell-germany/facilioo-agent-skill/-/facilioo-agent-skill-0.1.5.tgz","fileCount":33,"integrity":"sha512-piNEqE/ymfprX5p9kC1DWQOPWCsTC9lAqiJT7Zk8/XlKCdYfEAC7yXk3E+g/agPnCnzlx7T4X3B4pgdVhYDFzA==","signatures":[{"sig":"MEUCIQChpa8O97sTurY2nMjngZHmzbHMscAmXXLKIwjvBorSTwIgGWUDpoyk6deD8N8V8ceeVicTWM+VW3z3H2WMjlP0jsE=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":172648},"engines":{"node":">=20"},"gitHead":"0e36bf65908fcd74e61a309d090395d4eae2cf51","private":false,"scripts":{"test":"vitest run tests/unit","build":"npm run clean && tsc -p tsconfig.json && node scripts/ensure-executable.js","clean":"node scripts/clean.js","prepack":"npm run build && npm run test","test:unit":"vitest run tests/unit","typecheck":"tsc --noEmit","test:release":"node scripts/release-smoke.js"},"_npmUser":{"name":"codecell-germany","email":"admin@codecell.de"},"repository":{"url":"git+https://github.com/codecell-germany/facilioo-agent-skill.git","type":"git"},"_npmVersion":"11.12.1","description":"Agent-first Facilioo CLI and Codex skill for automating property management workflows in Facilioo","directories":{},"_nodeVersion":"25.9.0","dependencies":{"commander":"^14.0.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"^4.0.7","typescript":"^5.9.2","@types/node":"^25.2.3"},"_npmOperationalInternal":{"tmp":"tmp/facilioo-agent-skill_0.1.5_1776886487642_0.5649560770786748","host":"s3://npm-registry-packages-npm-production"}},"0.1.6":{"name":"@codecell-germany/facilioo-agent-skill","version":"0.1.6","private":false,"description":"Agent-first Facilioo CLI and Codex skill for automating property management workflows in Facilioo","keywords":["facilioo","property-management","hausverwaltung","agent","codex-skill","cli"],"license":"MIT","author":{"name":"Nikolas Gottschol"},"repository":{"type":"git","url":"git+https://github.com/codecell-germany/facilioo-agent-skill.git"},"homepage":"https://github.com/codecell-germany/facilioo-agent-skill#readme","bugs":{"url":"https://github.com/codecell-germany/facilioo-agent-skill/issues"},"bin":{"facilioo-agent-cli":"dist/index.js","facilioo-agent-skill":"dist/installer.js"},"scripts":{"clean":"node scripts/clean.js","build":"npm run clean && tsc -p tsconfig.json && node scripts/ensure-executable.js","typecheck":"tsc --noEmit","test":"vitest run tests/unit","test:unit":"vitest run tests/unit","test:release":"node scripts/release-smoke.js","prepack":"npm run build && npm run test"},"publishConfig":{"access":"public"},"engines":{"node":">=20"},"dependencies":{"commander":"14.0.1"},"overrides":{"commander":"14.0.1"},"devDependencies":{"@types/node":"^25.2.3","typescript":"^5.9.2","vitest":"^4.0.7"},"gitHead":"04799fba226ca63bbd703094f1b49705ce02fb04","_id":"@codecell-germany/facilioo-agent-skill@0.1.6","_nodeVersion":"25.9.0","_npmVersion":"11.12.1","dist":{"integrity":"sha512-Z6wAo1h8Vceb/JXRhBNdy3Zjk1MqNQf4Ot0y7JmXtLEi32ibMrkfTWoY31fgAzr7Q9xUDdMSKc9sk+52Nn1Mtg==","shasum":"c6d0e08c8b0dc44ee24fd1466a2f4c365e5b221d","tarball":"https://registry.npmjs.org/@codecell-germany/facilioo-agent-skill/-/facilioo-agent-skill-0.1.6.tgz","fileCount":34,"unpackedSize":217003,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIH993KR0qNJbbKsVFZeqkw5H84pYdazXieoTT8qroladAiEAmki2iJpezxK42PcQCGVeCg5J4Tl1QHZmv45e9VuZDn0="}]},"_npmUser":{"name":"codecell-germany","email":"admin@codecell.de"},"directories":{},"maintainers":[{"name":"codecell-germany","email":"admin@codecell.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/facilioo-agent-skill_0.1.6_1777033916624_0.09649821985130513"},"_hasShrinkwrap":false}},"time":{"created":"2026-04-11T20:00:16.084Z","modified":"2026-04-24T12:31:56.858Z","0.1.0":"2026-04-11T20:00:16.335Z","0.1.1":"2026-04-11T20:02:43.709Z","0.1.2":"2026-04-11T20:17:39.947Z","0.1.3":"2026-04-11T20:42:32.977Z","0.1.4":"2026-04-12T06:16:57.096Z","0.1.5":"2026-04-22T19:34:47.803Z","0.1.6":"2026-04-24T12:31:56.756Z"},"bugs":{"url":"https://github.com/codecell-germany/facilioo-agent-skill/issues"},"author":{"name":"Nikolas Gottschol"},"license":"MIT","homepage":"https://github.com/codecell-germany/facilioo-agent-skill#readme","keywords":["facilioo","property-management","hausverwaltung","agent","codex-skill","cli"],"repository":{"type":"git","url":"git+https://github.com/codecell-germany/facilioo-agent-skill.git"},"description":"Agent-first Facilioo CLI and Codex skill for automating property management workflows in Facilioo","maintainers":[{"name":"codecell-germany","email":"admin@codecell.de"}],"readme":"# facilioo-agent-skill\n\n---\n\n# English\n\n## Purpose\n\n`facilioo-agent-skill` is an agent-first Facilioo toolkit whose product goal is broad workflow automation for property management teams.\nIt ships as a real CLI plus a Codex-style skill payload, so an agent can install it, authenticate once, build context around properties or units, and execute Facilioo workflows through terminal commands instead of a browser.\n\nThe target direction is not just selective API access, but end-to-end automation of the important day-to-day workflows that a Hausverwaltung handles in Facilioo.\nThat includes context building, operational case work, document handling, and conference-related work.\nThe current release candidate already covers the operational core and is intentionally structured so deeper workflow automation can be added without redesigning the public CLI surface.\n\nThe product surface is the public CLI:\n\n- `facilioo-agent-cli`\n- `facilioo-agent-skill`\n\nThe skill explains how an agent should use that CLI safely.\nIt is not a substitute implementation.\n\n## Current scope\n\n- password-first authentication with persisted local session\n- technical API-key login as an explicit option\n- automatic session hardening through preflight refresh and one retry after `401 Unauthorized`\n- `auth status`, `auth login`, `auth refresh`, `auth export`, `auth clear`\n- `doctor` profiles for auth, core reads, and document I/O\n- context lookup for properties, entrances, units, parties, accounts, and contact details\n- operational workflows for inquiries, processes, work orders, appointments, user tasks, notifications, and notices\n- document search, document download, document creation via signed upload flow\n- attachment workflows for inquiries, inquiry responses, and process feed entries\n- conference search plus detail, agenda, protocol, topics, and resolutions\n- installer that copies the skill payload into `~/.codex/skills/facilioo-agent-cli`\n\n## Product direction\n\nThe long-term product goal is to make an agent capable of working through Facilioo workflows as completely as possible from the CLI.\n\nIn practice, that means:\n\n- building the right working context quickly\n- understanding open operational work across inquiries, processes, work orders, appointments, tasks, notifications, and notices\n- reading, creating, linking, and downloading documents without switching surfaces\n- moving through conference-related data where it matters in day-to-day administration\n- keeping dangerous actions explicitly guarded instead of hiding them behind raw API calls\n\nThe current implementation should therefore be read as the first publishable automation surface, not as the final functional ceiling.\n\n## Installation\n\n### 1. Install the package\n\n```bash\nnpm install -g @codecell-germany/facilioo-agent-skill\n```\n\nThis global install makes the public CLI binaries available.\nIt does not yet copy the Codex skill payload into `~/.codex/skills/`.\n\n### 2. Verify the CLI\n\n```bash\nfacilioo-agent-cli --help\nfacilioo-agent-skill --help\n```\n\n### 3. Install the skill payload for Codex\n\n```bash\nfacilioo-agent-skill install --force\n```\n\nThis second step is intentional.\nIt installs the Codex skill payload and the local Codex shim under `~/.codex/`.\n\n## Quick start\n\nRequirements:\n\n- Node.js `>= 20`\n- Facilioo account with API access\n- preferred: local password login by a human in a real TTY\n\nIf this is the first setup, print the built-in guide first:\n\n```bash\nfacilioo-agent-cli setup --language en\nfacilioo-agent-cli setup --language de\n```\n\nRecommended static environment values:\n\n```bash\nexport FACILIOO_BASE_URL=\"https://api.facilioo.de\"\nexport FACILIOO_API_VERSION=\"2.0\"\nexport FACILIOO_AUTH_METHOD=\"password\"\n```\n\nThis CLI targets the current Gen2 API surface under `/api`.\nThe older OpenAPI surface is deprecated by Facilioo and is scheduled to be switched off on January 1, 2027.\n\nDefault login:\n\n```bash\nfacilioo-agent-cli auth login --method password --interactive --persist\n```\n\nThis password flow is intentionally local and interactive.\nIt should be completed by a human in a real TTY, not by a headless or non-interactive agent loop.\n\nOptional technical login:\n\n```bash\nexport FACILIOO_API_KEY=\"...\"\nfacilioo-agent-cli auth login --method api-key --persist\n```\n\nDo not hardcode issued tokens in code.\nRequest them dynamically when needed and let the CLI persist the session locally.\n\nValidate the session before doing work:\n\n```bash\nfacilioo-agent-cli auth status --json\nfacilioo-agent-cli doctor --profile auth --json\nfacilioo-agent-cli doctor --profile core-read --json\n```\n\nOnly after `doctor` is healthy should the agent move to work commands:\n\n```bash\nfacilioo-agent-cli context lookup --search \"Musterstraße 12\" --json\nfacilioo-agent-cli ops inbox --property-id 123 --json\n```\n\n## Deterministic first-run order for agents\n\nIf a fresh agent receives this skill, the correct order is:\n\n1. `facilioo-agent-cli --help`\n2. `facilioo-agent-cli auth status --json`\n3. `facilioo-agent-cli doctor --profile auth --json`\n4. if setup is incomplete, print `facilioo-agent-cli setup --language en|de`\n5. collect only static values first:\n   - `FACILIOO_BASE_URL`\n   - `FACILIOO_API_VERSION`\n   - `FACILIOO_AUTH_METHOD`\n6. use the default local password flow first when a human is available at the terminal:\n   - `facilioo-agent-cli auth login --method password --interactive --persist`\n7. only use API-key login when the user explicitly wants a technical or automation-oriented setup:\n   - `FACILIOO_API_KEY`\n   - `facilioo-agent-cli auth login --method api-key --persist`\n8. rerun:\n   - `facilioo-agent-cli auth status --json`\n   - `facilioo-agent-cli doctor --profile core-read --json`\n9. only then start `context`, `ops`, `documents`, or `conferences`\n\nDo not start with hidden local install paths, repo-local `dist/`, or raw HTTP experiments.\n\n## Example commands\n\n### Context lookup\n\n```bash\nfacilioo-agent-cli context lookup --search \"Musterstraße 12\" --json\nfacilioo-agent-cli context property --id 123 --include entrances,units,tenant,documents,ops,owners,contracts,responsibilities --json\nfacilioo-agent-cli context unit --id 456 --include documents,ops --json\n```\n\n`owners`, `contracts`, and `responsibilities` read EV-relevant master data such as owners,\nunit contracts, emergency contacts, responsible staff members, trades, and assigned construction parties.\n\n### Processes\n\n```bash\nfacilioo-agent-cli ops processes search --property-id 123 --open-only --json\nfacilioo-agent-cli ops processes show --id 987 --json\nfacilioo-agent-cli ops processes feed --id 987 --json\nfacilioo-agent-cli ops processes tasks --id 987 --json\nfacilioo-agent-cli ops processes work-orders --id 987 --json\n```\n\n### Process create and update\n\n```bash\nfacilioo-agent-cli ops processes create \\\n  --set contactId=321 \\\n  --set typeId=4 \\\n  --set unitId=456 \\\n  --set subject=\"Wasserschaden Küche\" \\\n  --set report=\"<p>Leck gemeldet.</p>\" \\\n  --execute \\\n  --confirm-write yes \\\n  --json\n\nfacilioo-agent-cli ops processes update \\\n  --id 987 \\\n  --set stageId=8 \\\n  --set isFinished=false \\\n  --execute \\\n  --confirm-write yes \\\n  --json\n```\n\n### Process delete with explicit special approval\n\n```bash\nfacilioo-agent-cli ops processes delete \\\n  --id 987 \\\n  --preview \\\n  --json\n\nfacilioo-agent-cli ops processes delete \\\n  --id 987 \\\n  --execute \\\n  --allow-delete \\\n  --confirm-delete yes \\\n  --json\n```\n\nThe same delete rule applies to every exposed delete command in this package.\n\n### Documents\n\n```bash\nfacilioo-agent-cli documents search --property-id 123 --search \"Versicherung\" --json\nfacilioo-agent-cli documents show --id 5001 --json\nfacilioo-agent-cli documents download --id 5001 --output /absolute/path/file.pdf --json\n```\n\nCreate a document through the signed upload flow:\n\n```bash\nfacilioo-agent-cli documents create \\\n  --input /absolute/path/rechnung.pdf \\\n  --type-id 12 \\\n  --title \"Rechnung Sanitär\" \\\n  --property-id 123 \\\n  --execute \\\n  --confirm-write yes \\\n  --json\n```\n\n### Attachments\n\n```bash\nfacilioo-agent-cli documents attachments list --target inquiry --target-id 2001 --json\n\nfacilioo-agent-cli documents attachments add \\\n  --target inquiry \\\n  --target-id 2001 \\\n  --input /absolute/path/foto.jpg \\\n  --type-id 12 \\\n  --execute \\\n  --confirm-write yes \\\n  --json\n```\n\n### Conferences\n\n```bash\nfacilioo-agent-cli conferences search --property-id 123 --json\nfacilioo-agent-cli conferences show --id 7001 --json\nfacilioo-agent-cli conferences agenda --id 7001 --json\nfacilioo-agent-cli conferences protocol --id 7001 --json\nfacilioo-agent-cli conferences technical-protocol --id 7001 --json\nfacilioo-agent-cli conferences context --id 7001 --json\nfacilioo-agent-cli conferences match-transcript --conference-id 7001 --input /absolute/path/transcript.txt --json\nfacilioo-agent-cli conferences implementation-plan --conference-id 7001 --input /absolute/path/final-protocol.txt --preview --json\n```\n\nEV analysis commands default to curated, redacted JSON. Use `--raw` only when a human explicitly needs raw Facilioo payloads for debugging.\n\n## Guardrails\n\n- Reads are available by default.\n- EV analysis reads are redacted by default because owners, contracts, attendees, and protocols can contain personal data.\n- Writes require `--execute --confirm-write yes`.\n- Every exposed delete requires `--execute --allow-delete --confirm-delete yes`.\n- `--preview` should be used before sensitive changes or deletes.\n- Password login is interactive only.\n- Tokens are never printed in normal status or doctor output.\n- `auth export` is explicit and opt-in for cross-process handoff.\n- Public docs and examples use placeholders only.\n\n## Auth and session model\n\nThe CLI is static-env-first and persisted-session-first.\n\nStatic values still come from environment variables:\n\n- `FACILIOO_BASE_URL`\n- `FACILIOO_API_VERSION`\n- `FACILIOO_AUTH_METHOD`\n- optional: `FACILIOO_API_KEY`\n\nAfter `auth login`, the CLI persists the live session locally.\nOn macOS it prefers the Keychain.\nBusiness commands automatically refresh old sessions before work starts and retry once after `401 Unauthorized`.\n`auth export` exists only as an explicit bridge for another shell process.\n\nUseful commands:\n\n```bash\nfacilioo-agent-cli auth status --json\nfacilioo-agent-cli auth refresh --json\nfacilioo-agent-cli auth export --write-env-file ~/.config/facilioo-agent-cli/session.env --json\nfacilioo-agent-cli auth clear --json\n```\n\n## Privacy and publish hygiene\n\nThis package is intentionally published with a strict npm file whitelist.\nPrivate planning and research data are not part of the public package surface.\n\nThat means:\n\n- `Plans/` is private\n- repo-local research and knowledge notes are private\n- `.env*` is private\n- tarballs and local output folders stay private\n\n## References\n\n- `skills/facilioo-agent-cli/SKILL.md`\n- `skills/facilioo-agent-cli/references/overview.md`\n- `skills/facilioo-agent-cli/references/agent-onboarding.md`\n- `skills/facilioo-agent-cli/references/facilioo-first-run.md`\n- `skills/facilioo-agent-cli/references/command-cheatsheet.md`\n\n---\n\n# Deutsch\n\n## Zweck\n\n`facilioo-agent-skill` ist ein agentenorientiertes Facilioo-Toolkit mit dem Produktziel, Arbeitsabläufe einer Hausverwaltung in Facilioo möglichst umfassend zu automatisieren.\nEs besteht aus einer echten CLI plus einem Codex-Skill-Payload, sodass ein Agent es installieren, sich einmal authentifizieren, Kontext zu Objekten oder Einheiten aufbauen und Facilioo-Workflows per Terminal statt über den Browser ausführen kann.\n\nDie Zielrichtung ist nicht nur selektiver API-Zugriff, sondern eine Ende-zu-Ende-Automatisierung der wichtigen Tagesgeschäfts-Workflows einer Hausverwaltung in Facilioo.\nDazu gehören Kontextaufbau, operative Fallbearbeitung, Dokumentenarbeit und konferenzbezogene Abläufe.\nDer aktuelle veröffentlichbare Stand deckt bereits den operativen Kern ab und ist bewusst so aufgebaut, dass tiefere Workflow-Automatisierung später ohne Redesign der öffentlichen CLI-Oberfläche ergänzt werden kann.\n\nDie öffentliche Produktoberfläche ist:\n\n- `facilioo-agent-cli`\n- `facilioo-agent-skill`\n\nDer Skill erklärt, wie ein Agent diese CLI sicher verwenden soll.\nEr ist keine alternative Implementierung.\n\n## Aktueller Umfang\n\n- passwortbasierte Standard-Authentifizierung mit lokal persistierter Session\n- technischer API-Key-Login als explizite Option\n- automatische Session-Härtung durch Preflight-Refresh und einen Retry nach `401 Unauthorized`\n- `auth status`, `auth login`, `auth refresh`, `auth export`, `auth clear`\n- `doctor`-Profile für Auth, Core-Reads und Dokumenten-I/O\n- Kontextsuche für Objekte, Eingänge, Einheiten, Parteien, Konten und Kontaktdaten\n- operative Workflows für Anfragen, Vorgänge, Work Orders, Termine, User Tasks, Notifications und Notices\n- Dokumentensuche, Dokumentendownload und Dokumentenerstellung über den signierten Upload-Flow\n- Anhangs-Workflows für Anfragen, Anfrageantworten und Prozess-Feed-Einträge\n- Konferenzsuche sowie Details, Agenda, Protokoll, Themen und Beschlüsse\n- Installer, der den Skill-Payload nach `~/.codex/skills/facilioo-agent-cli` kopiert\n\n## Produktrichtung\n\nDas langfristige Produktziel ist, einen Agenten dazu zu befähigen, Facilioo-Workflows so vollständig wie möglich über die CLI zu bearbeiten.\n\nPraktisch bedeutet das:\n\n- den richtigen Arbeitskontext schnell aufbauen\n- offene operative Arbeit über Anfragen, Vorgänge, Work Orders, Termine, Tasks, Notifications und Notices verstehen\n- Dokumente lesen, erstellen, verknüpfen und herunterladen, ohne die Oberfläche zu wechseln\n- konferenzbezogene Daten dort bearbeiten, wo sie im Verwaltungsalltag relevant sind\n- gefährliche Aktionen explizit absichern, statt sie hinter rohen API-Calls zu verstecken\n\nDie aktuelle Umsetzung ist deshalb als erste veröffentlichbare Automatisierungsoberfläche zu lesen, nicht als endgültige Funktionsgrenze.\n\n## Installation\n\n### 1. Paket installieren\n\n```bash\nnpm install -g @codecell-germany/facilioo-agent-skill\n```\n\nDiese globale Installation macht die öffentlichen CLI-Binaries verfügbar.\nSie kopiert den Codex-Skill-Payload noch nicht nach `~/.codex/skills/`.\n\n### 2. CLI prüfen\n\n```bash\nfacilioo-agent-cli --help\nfacilioo-agent-skill --help\n```\n\n### 3. Skill-Payload für Codex installieren\n\n```bash\nfacilioo-agent-skill install --force\n```\n\nDieser zweite Schritt ist beabsichtigt.\nEr installiert den Codex-Skill-Payload und den lokalen Codex-Shim unter `~/.codex/`.\n\n## Schnellstart\n\nVoraussetzungen:\n\n- Node.js `>= 20`\n- Facilioo-Konto mit API-Zugang\n- bevorzugt: Zugang über den normalen Benutzerlogin\n\nWenn dies die erste Einrichtung ist, zuerst den eingebauten Guide ausgeben:\n\n```bash\nfacilioo-agent-cli setup --language en\nfacilioo-agent-cli setup --language de\n```\n\nEmpfohlene statische Umgebungswerte:\n\n```bash\nexport FACILIOO_BASE_URL=\"https://api.facilioo.de\"\nexport FACILIOO_API_VERSION=\"2.0\"\nexport FACILIOO_AUTH_METHOD=\"password\"\n```\n\nDiese CLI zielt auf die aktuelle Gen2-API-Oberfläche unter `/api`.\nDie ältere OpenAPI-Oberfläche ist laut Facilioo veraltet und soll am 1. Januar 2027 abgeschaltet werden.\n\nStandard-Login:\n\n```bash\nfacilioo-agent-cli auth login --method password --interactive --persist\n```\n\nDieser Passwort-Flow ist bewusst lokal und interaktiv.\nEr sollte von einem Menschen in einem echten TTY abgeschlossen werden, nicht von einem headless oder nicht-interaktiven Agentenloop.\n\nOptionaler technischer Login:\n\n```bash\nexport FACILIOO_API_KEY=\"...\"\nfacilioo-agent-cli auth login --method api-key --persist\n```\n\nTokens sollten nicht fest im Code hinterlegt werden.\nSie sollten bei Bedarf dynamisch angefordert werden, während die CLI die Session lokal persistiert.\n\nVor echter Arbeit die Session validieren:\n\n```bash\nfacilioo-agent-cli auth status --json\nfacilioo-agent-cli doctor --profile auth --json\nfacilioo-agent-cli doctor --profile core-read --json\n```\n\nErst wenn `doctor` gesund ist, sollte der Agent zu Arbeitskommandos wechseln:\n\n```bash\nfacilioo-agent-cli context lookup --search \"Musterstraße 12\" --json\nfacilioo-agent-cli ops inbox --property-id 123 --json\n```\n\n## Deterministische Erstreihenfolge für Agenten\n\nWenn ein frischer Agent diesen Skill erhält, ist die richtige Reihenfolge:\n\n1. `facilioo-agent-cli --help`\n2. `facilioo-agent-cli auth status --json`\n3. `facilioo-agent-cli doctor --profile auth --json`\n4. wenn das Setup unvollständig ist, `facilioo-agent-cli setup --language en|de` ausgeben\n5. zuerst nur statische Werte einsammeln:\n   - `FACILIOO_BASE_URL`\n   - `FACILIOO_API_VERSION`\n   - `FACILIOO_AUTH_METHOD`\n6. wenn ein Mensch am Terminal verfügbar ist, zuerst den lokalen Passwort-Flow verwenden:\n   - `facilioo-agent-cli auth login --method password --interactive --persist`\n7. API-Key-Login nur verwenden, wenn der Nutzer ausdrücklich ein technisches oder stärker automatisiertes Setup möchte:\n   - `FACILIOO_API_KEY`\n   - `facilioo-agent-cli auth login --method api-key --persist`\n8. danach erneut ausführen:\n   - `facilioo-agent-cli auth status --json`\n   - `facilioo-agent-cli doctor --profile core-read --json`\n9. erst dann mit `context`, `ops`, `documents` oder `conferences` beginnen\n\nNicht mit versteckten lokalen Installationspfaden, repo-lokalem `dist/` oder rohen HTTP-Experimenten starten.\n\n## Beispielkommandos\n\n### Kontextsuche\n\n```bash\nfacilioo-agent-cli context lookup --search \"Musterstraße 12\" --json\nfacilioo-agent-cli context property --id 123 --include entrances,units,tenant,documents,ops,owners,contracts,responsibilities --json\nfacilioo-agent-cli context unit --id 456 --include documents,ops --json\n```\n\n`owners`, `contracts` und `responsibilities` lesen EV-relevante Stammdaten wie Eigentümer,\nEinheitsverträge, Notfallkontakte, zuständige Mitarbeitende, Gewerke und zugewiesene ausführende Firmen.\n\n### Vorgänge\n\n```bash\nfacilioo-agent-cli ops processes search --property-id 123 --open-only --json\nfacilioo-agent-cli ops processes show --id 987 --json\nfacilioo-agent-cli ops processes feed --id 987 --json\nfacilioo-agent-cli ops processes tasks --id 987 --json\nfacilioo-agent-cli ops processes work-orders --id 987 --json\n```\n\n### Vorgang anlegen und aktualisieren\n\n```bash\nfacilioo-agent-cli ops processes create \\\n  --set contactId=321 \\\n  --set typeId=4 \\\n  --set unitId=456 \\\n  --set subject=\"Wasserschaden Küche\" \\\n  --set report=\"<p>Leck gemeldet.</p>\" \\\n  --execute \\\n  --confirm-write yes \\\n  --json\n\nfacilioo-agent-cli ops processes update \\\n  --id 987 \\\n  --set stageId=8 \\\n  --set isFinished=false \\\n  --execute \\\n  --confirm-write yes \\\n  --json\n```\n\n### Vorgang löschen nur mit ausdrücklicher Sonderfreigabe\n\n```bash\nfacilioo-agent-cli ops processes delete \\\n  --id 987 \\\n  --preview \\\n  --json\n\nfacilioo-agent-cli ops processes delete \\\n  --id 987 \\\n  --execute \\\n  --allow-delete \\\n  --confirm-delete yes \\\n  --json\n```\n\nDieselbe Delete-Regel gilt für jeden öffentlich exponierten Delete-Befehl in diesem Paket.\n\n### Dokumente\n\n```bash\nfacilioo-agent-cli documents search --property-id 123 --search \"Versicherung\" --json\nfacilioo-agent-cli documents show --id 5001 --json\nfacilioo-agent-cli documents download --id 5001 --output /absolute/path/file.pdf --json\n```\n\nDokument über den signierten Upload-Flow anlegen:\n\n```bash\nfacilioo-agent-cli documents create \\\n  --input /absolute/path/rechnung.pdf \\\n  --type-id 12 \\\n  --title \"Rechnung Sanitär\" \\\n  --property-id 123 \\\n  --execute \\\n  --confirm-write yes \\\n  --json\n```\n\n### Anhänge\n\n```bash\nfacilioo-agent-cli documents attachments list --target inquiry --target-id 2001 --json\n\nfacilioo-agent-cli documents attachments add \\\n  --target inquiry \\\n  --target-id 2001 \\\n  --input /absolute/path/foto.jpg \\\n  --type-id 12 \\\n  --execute \\\n  --confirm-write yes \\\n  --json\n```\n\n### Konferenzen\n\n```bash\nfacilioo-agent-cli conferences search --property-id 123 --json\nfacilioo-agent-cli conferences show --id 7001 --json\nfacilioo-agent-cli conferences agenda --id 7001 --json\nfacilioo-agent-cli conferences protocol --id 7001 --json\nfacilioo-agent-cli conferences technical-protocol --id 7001 --json\nfacilioo-agent-cli conferences context --id 7001 --json\nfacilioo-agent-cli conferences match-transcript --conference-id 7001 --input /absolute/path/transkript.txt --json\nfacilioo-agent-cli conferences implementation-plan --conference-id 7001 --input /absolute/path/finales-protokoll.txt --preview --json\n```\n\nEV-Analysebefehle liefern standardmäßig kuratierte, redigierte JSON-Ausgaben. `--raw` nur verwenden, wenn ein Mensch Rohdaten ausdrücklich zur Diagnose braucht.\n\n## Guardrails\n\n- Reads sind standardmäßig verfügbar.\n- EV-Analyse-Reads sind standardmäßig redigiert, weil Eigentümer, Verträge, Teilnehmer und Protokolle personenbezogene Daten enthalten können.\n- Writes erfordern `--execute --confirm-write yes`.\n- Jeder exponierte Delete erfordert `--execute --allow-delete --confirm-delete yes`.\n- `--preview` sollte vor sensiblen Änderungen oder Deletes verwendet werden.\n- Passwort-Login ist nur interaktiv.\n- Tokens werden in normaler Status- oder Doctor-Ausgabe nie ausgegeben.\n- `auth export` ist explizit opt-in für prozessübergreifende Übergabe.\n- Öffentliche Doku und Beispiele verwenden nur Platzhalter.\n\n## Auth- und Session-Modell\n\nDie CLI ist static-env-first und persisted-session-first.\n\nStatische Werte kommen weiterhin aus Umgebungsvariablen:\n\n- `FACILIOO_BASE_URL`\n- `FACILIOO_API_VERSION`\n- `FACILIOO_AUTH_METHOD`\n- optional: `FACILIOO_API_KEY`\n\nNach `auth login` persistiert die CLI die Live-Session lokal.\nAuf macOS bevorzugt sie die Keychain.\nFachkommandos erneuern alte Sessions automatisch vor Arbeitsbeginn und wiederholen einen Request einmal nach `401 Unauthorized`.\n`auth export` existiert nur als explizite Brücke für einen anderen Shell-Prozess.\n\nNützliche Befehle:\n\n```bash\nfacilioo-agent-cli auth status --json\nfacilioo-agent-cli auth refresh --json\nfacilioo-agent-cli auth export --write-env-file ~/.config/facilioo-agent-cli/session.env --json\nfacilioo-agent-cli auth clear --json\n```\n\n## Datenschutz und Publish-Hygiene\n\nDieses Paket wird bewusst mit einer strikten npm-Datei-Whitelist veröffentlicht.\nPrivate Planungs- und Rechercheartefakte gehören nicht zur öffentlichen Paketoberfläche.\n\nDas bedeutet:\n\n- `Plans/` ist privat\n- repo-lokale Recherche- und Knowledge-Notizen sind privat\n- `.env*` ist privat\n- Tarballs und lokale Output-Ordner bleiben privat\n\n## Referenzen\n\n- `skills/facilioo-agent-cli/SKILL.md`\n- `skills/facilioo-agent-cli/references/overview.md`\n- `skills/facilioo-agent-cli/references/agent-onboarding.md`\n- `skills/facilioo-agent-cli/references/facilioo-first-run.md`\n- `skills/facilioo-agent-cli/references/command-cheatsheet.md`\n","readmeFilename":"README.md"}