ever-just/agentskills/everjust-appointments
Claude Code and agent skill by ever-just/agentskills
- community
- ext:[{"type":"plugin","description":"Custom plugin integration"}]
Checking that the SKILL.md file is still in the repository.
Operate the everjust.app custom Appointments app (online booking → calendar event + optional CRM lead + confirmation email) via the Odoo MCP/ORM. Use when the task is to configure a bookable appointment type and its weekly slots, create/confirm/reschedule/cancel a booking as a tenant, inspect a customer's bookings, diagnose why a public /appointment slot isn't offered (min-advance / max-days / staff conflict), or wire a booking to CRM. This is the BESPOKE everjust_appointment stack (appointment.type / appointment.slot / appointment.booking) — NOT Odoo's stock Enterprise appointment.* models, and NOT calendar.event directly. Only some tenants have it installed. Cross-references [[everjust-platform]] and [[everjust-agent-mcp]]; CRM leads flow to native crm.lead; confirmation email goes through a stock mail.template (NOT [[everjust-mail-ops]]).
Install
npx vskill@latest install ever-just/agentskills/everjust-appointmentsSemi-extensibleMentions customization, but needs skill-specific knowledge. Read the extensible skills standard
SKILL.md
The same SKILL.md was published earlier as ever-just/agentskills/everjust-appointments.
EVERJUST Appointments — Agent Skill
Operate the everjust.app custom Appointments app as a running agent: define a bookable appointment type + its weekly availability, take/confirm/reschedule/cancel bookings, and read a customer's appointment history — all through the Odoo MCP / ORM (env["..."], search, read, create, write, and call an exposed method). The addon is everjust_appointment (source under <ww.everjust.app>/addons/everjust_appointment/). It is a bespoke, LGPL, community reimplementation of the Enterprise-only appointment module — the manifest says so ("Replaces the Enterprise-only appointment module"). Do not reach for Odoo's stock appointment.type/calendar.appointment.* field set or its _get_appointment_slots API; those methods do not exist here.
When to use this skill
- Configure a bookable service — create/edit an
appointment.type(duration, location,
advance-booking window, staff, CRM-lead toggle, publish) and its weekly appointment.slots.
- Take or manage a booking — create an
appointment.booking, confirm it (which spins up
the calendar event + optional CRM lead + confirmation email), mark done, cancel, or reset.
- Reschedule — move a booking's
start_datetimeand re-confirm, keeping the calendar in sync. - Inspect — list a customer's bookings, a staff member's day, or all bookings in a state;
find the linked calendar.event / crm.lead.
- Diagnose a "no slots" complaint — why the public
/appointment/<type>page offers no
times: not published, no slots for that weekday, inside the min_schedule_hours cutoff, past max_schedule_days, or every staff member is busy.
Do NOT use this skill for, and stop if the task is really:
- Odoo stock/Enterprise Appointments (
appointment.typeas shipped by Odoo, resource
booking, calendar.appointment) — this tenant runs the custom module; its models share the appointment.type/appointment.slot names but not Odoo's schema. Read fields from the addon, not from memory.
- Driving `calendar.event` directly to "book" someone — a booking OWNS its event
(action_confirm creates it, action_cancel unlinks it). Hand-creating a calendar.event produces an orphan the app never reconciles. Go through appointment.booking.
- CRM pipeline work beyond lead creation — moving the lead through stages, activities on
the lead, conversion — that's native CRM. The app only creates one crm.lead (when the type opts in) and stashes its id in booking.lead_id.
- Bulk/blast email or the native mail platform — the confirmation email is a plain stock
mail.template.send_mail(force_send=True). It is NOT the everjust.app webmail stack; see [[everjust-mail-ops]] only if you need to reason about that separate product.
You reach the ORM through the platform's Odoo MCP tools — see [[everjust-agent-mcp]] for how to open an env against the right tenant DB, run a shell, or call a model method. Every recipe below is expressed as ORM/method calls you route through that MCP.
Where it's installed (as of 2026-07)
One tenant DB per customer; the module is opt-in per tenant. Verified live via ir_module_module.state:
| Tenant DB | everjust_appointment | |
|---|---|---|
connectdomain | installed (6 types, 35 slots, 3 bookings) | |
headsup | installed | |
tcstartupweek | installed | |
weldon | installed | |
burekraft-llc, riftline-labs, trust-works-company | uninstalled | |
control | module row absent (not in that tenant's addon set) |
Before operating, confirm the module is installed on your target DB — on a tenant without it, env["appointment.type"] raises KeyError. See [[everjust-agent-mcp]] for selecting the DB.
Architecture (the model map)
Three custom models, all per-company_id implicitly via the tenant DB. The app is a thin orchestration layer over native calendar.event, crm.lead, res.partner, and mail.template.
| Model | Role | Key fields (real, from the addon) | |
|---|---|---|---|
appointment.type | A bookable service. Gates public visibility and the booking window. | name*, duration (hours, float, default 1.0)*, sequence, description (Html), location (Char), staff_user_ids (m2m res.users), is_published (bool — must be True to show on `/appointment`), min_schedule_hours (float, default 24 — earliest bookable = now + this), max_schedule_days (int, default 30 — furthest bookable), create_lead (bool — make a crm.lead on confirm), color, slot_ids (o2m → appointment.slot) | |
appointment.slot | A weekly recurring availability window on a type. NOT a concrete time — the controller expands these into 30-min-granularity offerings. | appointment_type_id (m2o, `ondelete=cascade`), `weekday` (selection `'0'`..`'6'`, Monday=`'0'` — Python date.weekday()), start_hour / `end_hour` (float hours-of-day, e.g. 9.0, 17.5; constraint: start < end, both in [0,24]) | |
appointment.booking | A concrete booking. Inherits mail.thread + mail.activity.mixin (has chatter + activities). Owns the derived calendar event & lead. | name (computed "Type — Customer", stored, editable), appointment_type_id (m2o, `ondelete=restrict`), `partner_id` (m2o `res.partner`, the customer), `staff_user_id` (m2o `res.users`), `start_datetime` (Datetime, UTC-naive like all Odoo datetimes), end_datetime (computed = start + type.duration, stored), duration (related, read-only), state* (draft/confirmed/done/cancelled, default draft), calendar_event_id (m2o, read-only, set by the app), lead_id (m2o crm.lead, read-only, set by the app), notes (Text), phone, email, address (service address), location/color (related from type) |
The booking lifecycle (what the buttons actually do)
State machine on appointment.booking, driven by 4 methods (call these; don't set state raw):
- `action_confirm()` — the important one. For each booking still in
draft: sets
state='confirmed', then `_create_calendar_event()` (creates a calendar.event with the customer + staff's partner as attendees, links it in calendar_event_id), then if `appointment_type_id.create_lead` → _create_crm_lead() (creates a crm.lead, links lead_id), then `_send_confirmation_email()` (renders template everjust_appointment.mail_template_booking_confirmation and send_mail(force_send=True) — only if `partner_id.email` is set). Re-calling on an already-confirmed booking is a no-op (the if state != 'draft': continue guard), so it will NOT create a second event/lead.
- `action_done()` — sets
state='done'. (Leaves the calendar event in place.) - `action_cancel()` — sets
state='cancelled'and unlinks the `calendar.event` (so the
slot frees up). The crm.lead is left intact.
- `action_reset_draft()` — back to
draft. Does NOT recreate/undo the event or lead.
The public booking path (auth="public", website)
Customers book without login via the controller (controllers/main.py): /appointment (lists published types) → /appointment/<type_id> → JS POSTs /appointment/<type_id>/slots?date=YYYY-MM-DD → /appointment/<type_id>/book → /appointment/confirmation. The /book handler runs entirely sudo(): it finds-or-creates the res.partner by email (=ilike), picks the first staff member with no conflicting `calendar.event` AND no conflicting draft/confirmed `appointment.booking` in the window, creates the booking, and immediately `action_confirm()`s it. So a public booking is born already confirmed, with event + (optional) lead + email already fired. When you operate from the ORM you skip the controller — you must call action_confirm() yourself.
Availability / double-booking logic (mirror it, don't fight it)
Two places compute conflicts, both by overlap query start < slot_end AND stop/end > slot_start:
- The slots endpoint and /book check both
calendar.event(any event for that user)
and other appointment.bookings in state draft/confirmed. A time is offered only if ≥1 staff member is free.
- `booking._check_staff_availability()` does the same check for one booking and **raises
ValidationError on conflict. NOTE: it is defined but NOT auto-called by `create`, `write`, or `action_confirm` in this version — it's a helper. If you create bookings from the ORM and want the guard, `call` it explicitly before confirming (see recipes). Staff resolution: if `type.staff_user_ids` is empty, all internal (non-share) users** are candidate staff (appointment.type._get_available_staff).
Recipes
Route each through the Odoo MCP (open an env on the tenant DB, then run the call). See [[everjust-agent-mcp]] for opening the session and picking the DB (e.g. connectdomain).
Configure a bookable type + its weekly availability
A type with is_published=False or zero slots for the requested weekday offers no times. The controller expands each slot into offerings at max(duration, 30)-minute steps and drops any start before now + min_schedule_hours.
Create a booking from the ORM and confirm it (event + lead + email)
Do NOT set state='confirmed' by write — that skips the event/lead/email side effects. Do NOT pre-set calendar_event_id/lead_id; they're app-owned read-only outputs.
Reschedule a booking (keep the calendar in sync)
This is the start of the file. Read the full SKILL.md on GitHub.
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/everjust-appointments/SKILL.md
Popularity
- Repository stars
- 3
- Repository forks
- 1
- 7-day trend score
- 7
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Extension points
pluginCustom plugin integration
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/ever-just/agentskills/everjust-appointments)