Renew my library books before they are due

Loans that are due soon, renewed after one approval, and the holds that are ready to pick up.

  • On a schedule: Every day at 8:00
  • Asks you first

What it does

The task

Sign in to library site with the vault and open my loans. Find each loan that is due in the next 3 days. List the loans that I can renew, and ask me once before you renew them. For the loans that I cannot renew, give the due date and the late fee for each day. Also tell me about each hold that is ready to pick up, with the branch and the last pickup date. When nothing is due and no hold is ready, send nothing.

  • It works in any website, in the workspace you pick, and signs in with passwords from your Cuiar vault.
  • As a routine it runs every day at 8:00 (cron 0 8 * * *).
  • It stops for your approval before it sends, posts, pays, books or changes a record.

What you give it

BlankWhat to giveExample
library siteThe web address of your library accountcatalog.riverbendlibrary.org

What you get back

An example run with the example values above. Your run uses your own data.

Due in the next 3 days: 3 loans

Renewed after your approval:

  • The Salt Road, new due date Wed 18 Nov
  • Bridges of Code, new due date Wed 18 Nov

Cannot renew, another reader has a hold: Winter Garden, due Fri 30 Oct, late fee 0.25 EUR a day

Ready to pick up: The Long Field, Central branch, until Wed 4 Nov

Run it in Cuiar

  1. 01

    Open it

    Click Use in Cuiar on this page. The side panel opens with the task in the composer.

  2. 02

    Fill in the blank

    Type library site. Tab moves to the next blank.

  3. 03

    Run it, then repeat it

    Run sends it once. To run it every day at 8:00, make a routine on cuiar.com/routines or with the CLI below.

As a routine, from the terminal

cuiar routines create "Renew my library books before they are due" --schedule "0 8 * * *" --time-zone Europe/Berlin \
  "Sign in to catalog.riverbendlibrary.org with the vault and open my loans. Find each loan that is due in the next 3 days. List the loans that I can renew, and ask me once before you renew them. For the loans that I cannot renew, give the due date and the late fee for each day. Also tell me about each hold that is ready to pick up, with the branch and the last pickup date. When nothing is due and no hold is ready, send nothing."

Run it from your AI agent

Claude Code, Codex, Cursor and other MCP clients reach Cuiar at https://mcp.cuiar.com/mcp. Add the server one time, then ask for the task in plain words, or call create_routine yourself.

1. Add Cuiar to Claude Code

claude mcp add --transport http cuiar https://mcp.cuiar.com/mcp

2. Ask your agent

Use the Cuiar tool create_routine to run my "Renew my library books before they are due" template with library site = catalog.riverbendlibrary.org.

Setup for other agents: AI agents.

The tool call

{
  "name": "create_routine",
  "arguments": {
    "name": "Renew my library books before they are due",
    "task": "Sign in to catalog.riverbendlibrary.org with the vault and open my loans. Find each loan that is due in the next 3 days. List the loans that I can renew, and ask me once before you renew them. For the loans that I cannot renew, give the due date and the late fee for each day. Also tell me about each hold that is ready to pick up, with the branch and the last pickup date. When nothing is due and no hold is ready, send nothing.",
    "schedule": "0 8 * * *",
    "time_zone": "Europe/Berlin"
  }
}
All personal templates
  • PersonalAsks first

    Fill my grocery cart every week

    Your usual items in the cart and a delivery slot. You approve the payment.

    On a schedule: Every Friday at 18:00
    • Any online store
  • Personal

    Track all my parcels in one list

    Each parcel on its way, with the carrier status and the expected date, in one morning message.

    On a schedule: Every day at 8:00
    • Gmail
    • Any carrier site
  • Personal

    Get a weekly summary from the school portal

    Homework, grades, teacher messages and dates for each child, in one short e-mail on Friday.

    On a schedule: Every Friday at 16:00
    • Any school portal
  • Personal

    Find the best price for an item

    The lowest total with shipping, from sellers with good ratings.

    You start it: When you start it
    • Google Shopping
    • Amazon
    • eBay
  • PersonalAsks first

    Find a flight for your dates

    The three best flights for your rules, with baggage. Booking waits for you.

    You start it: When you start it
    • Google Flights
    • Skyscanner
  • PersonalAsks first

    Find subscriptions to cancel

    Each recurring charge in one list. Each cancellation waits for your approval.

    You start it: When you start it
    • Gmail
    • PayPal