---
title: "Give your agent read-only scripts for work systems · Lenexa Learn"
description: "A developer had Claude Code write scripts for Slab and Linear plus a read-only database proxy, so it can research with SQL without risk."
url: https://www.lenexa.ai/learn/agents/give-your-agent-read-only-scripts-for-work-systems/
site: "Lenexa Learn"
---

Claude Code

# Give your agent read-only scripts for work systems

A developer had Claude Code write scripts for Slab and Linear plus a read-only database proxy, so it can research with SQL without risk.

**Caution.** Keep database access read-only.

## Steps

1. Have it write small scripts.
2. Use a read-only database account.
3. Let it reuse the scripts.

## Prompt you can copy

```
Write a script to upload docs to our wiki.
```

## What you get

The agent works with those systems.

## Source

[hn](https://news.ycombinator.com/item?id=49787192) · September 2026

For Developers. [Claude Code](https://www.lenexa.ai/learn/agents/tool/claude-code/). Added October 12, 2026. Shared by @lanstin.

## Related

### [Add new projects to a Notion tracker](https://www.lenexa.ai/learn/agents/add-new-projects-to-a-notion-tracker/)

Three new projects landed one morning, so a freelancer told Grok Bot, which was connected to Notion, to add them to the project tracker.

- Small businesses
- Creators
- Grok Bot

### [Send an email from your car through Grok Bot](https://www.lenexa.ai/learn/agents/send-an-email-from-your-car-through-grok-bot/)

A Tesla driver asked Grok in the car to send an email. Grok handed the job to their Grok Bot, which has email access, and the two talked it through to get it sent.

- Individuals
- Grok Bot

### [Find a mistake in a quote before the deadline](https://www.lenexa.ai/learn/agents/find-a-mistake-in-a-quote-before-the-deadline/)

With a deadline coming, someone spent hours hunting for a problem in a quote. Grok Bot spotted it right away, and the quote went in on time.

- Small businesses
- Grok Bot

The daily email

## Get 5 AI use cases every morning

A short morning email with five things AI can help with, picked for the groups you choose. It's free, we don't sell anything on this list, and every email has an unsubscribe link.
