Skill instructions
check-who-opened-my-link1.86 KB
View saved version →
---
name: check-who-opened-my-link
description: Report how a shared link did, with views, unique visitors, time spent, pages read, countries and devices. Use when the user asks whether someone opened a link or how many views it has.
---
# Check who opened my link
## When to use
"Did anyone open my proposal?", "How many views does my link have?", "Did they read the whole PDF?"
## Steps
1. If the user gave the link or its slug, call `get_link_analytics` with it. Default range is the last 30 days; use `7d`, `14d`, `90d` or `all` when the user names a period.
2. If the user described the link ("my proposal", "the last one"), call `list_links` first and pick the match. If two links could match, ask which one.
3. Report only the numbers the tool returned. Zero views is a valid answer. Never estimate or invent a number.
4. Analytics shows counts, countries and devices. It does not name people unless the link collects emails; do not guess who a viewer is.
## Output
A short summary, most useful number first:
- Views and unique visitors in the period
- Average time on the file, and for a PDF how far readers got
- Top countries and devices, if there are views
- The busiest day or hour, if the tool gave one
End with the link itself.
## Always
- Only the connected account's own links and albums. If a link or album is not found, say so; do not try other slugs.
- A link is public: anyone who has the URL can open it, and it is not listed anywhere. Say this once if the file looks private.
- If a result is unclear or a call timed out, call `list_links` before sending anything again, so no duplicate is made.
- Deleting a link, changing a password or expiry date, and account settings are done by the user in the dashboard at https://linkinseconds.com/dashboard. No tool is called for those.
- When a file is refused, say what the tool answered in one sentence. Do not retry the same file.
Referenced files: 1 — file references are metadata, not package contents.
make-a-qr-code-for-a-link1.59 KB
View saved version →
---
name: make-a-qr-code-for-a-link
description: Give the user a QR code for one of their Link in Seconds links or albums. Use when the user asks for a QR code for a file, a link or an album.
---
# Make a QR code for a link
## When to use
The user wants a QR code that opens a file, link or album: for a poster, a slide, a menu, a business card.
## Steps
1. If the file is not published yet, publish it first (`upload_file` for one file, `create_album` for several).
2. The result of every publish holds `qr_url`: a PNG image of the QR code for that link. Use it as it is.
3. For a link that already exists, call `list_links` to find it. Its QR image is `https://linkinseconds.com/api/qr?slug=<slug>&format=png`.
4. Do not draw or generate a QR code yourself: a generated picture may not scan. Always use the QR image from Link in Seconds.
## Output
The link, then the QR image (or its URL) on the next line. One sentence that scanning it opens the link on a phone.
## Always
- Only the connected account's own links and albums. If a link or album is not found, say so; do not try other slugs.
- A link is public: anyone who has the URL can open it, and it is not listed anywhere. Say this once if the file looks private.
- If a result is unclear or a call timed out, call `list_links` before sending anything again, so no duplicate is made.
- Deleting a link, changing a password or expiry date, and account settings are done by the user in the dashboard at https://linkinseconds.com/dashboard. No tool is called for those.
- When a file is refused, say what the tool answered in one sentence. Do not retry the same file.
Referenced files: 1 — file references are metadata, not package contents.
publish-a-quick-html-page1.84 KB
View saved version →
---
name: publish-a-quick-html-page
description: Write a small HTML page and publish it as a live link. Use when the user asks for a quick web page, landing page, invitation, one-page site or HTML demo they can share.
---
# Publish a quick HTML page
## When to use
"Make a page for my event and give me the link", "Turn this into a web page", "Publish this HTML".
## Steps
1. Write ONE self-contained HTML file: CSS and JavaScript inline, no build step, images as external https URLs or inline SVG. Keep it small.
2. Tell the user in one line that the page will be public to anyone with the link, then publish it.
3. Call `upload_file` with `filename` ending in `.html` and the complete page in `content`. One page per call.
4. HTML pages are published alone: they are not taken inside albums.
5. Do not put sign-in forms, password fields or payment forms on the page: such pages are held for review.
6. To change the page, publish a new version as a new link. Replacing a file is done in the dashboard.
## Output
One sentence with the live link. If the tool says the page is being reviewed, say it goes live once that is done.
If the tool says HTML pages are not available on the account, say so in one sentence and stop.
## Always
- Only the connected account's own links and albums. If a link or album is not found, say so; do not try other slugs.
- A link is public: anyone who has the URL can open it, and it is not listed anywhere. Say this once if the file looks private.
- If a result is unclear or a call timed out, call `list_links` before sending anything again, so no duplicate is made.
- Deleting a link, changing a password or expiry date, and account settings are done by the user in the dashboard at https://linkinseconds.com/dashboard. No tool is called for those.
- When a file is refused, say what the tool answered in one sentence. Do not retry the same file.
Referenced files: 1 — file references are metadata, not package contents.
share-a-file-as-a-link1.96 KB
View saved version →
---
name: share-a-file-as-a-link
description: Share one file as a public link. Use when the user attaches or writes a single file (PDF, image, document, audio, video) and wants a link to send to someone.
---
# Share a file as a link
## When to use
The user has ONE file and wants a link for it: "turn this into a link", "give me a link I can send", "host this file".
For two or more files that should share one link, use the skill `share-files-as-one-album`.
## Steps
1. If the file is attached in the chat, call `upload_file` with the attachment in `file`, as it is. Do not convert, compress or re-encode it.
2. If the file was written in the chat (text, Markdown, CSV, SVG, JSON), call `upload_file` with `filename` (with its extension) and the full text in `content`.
3. Add `title` only if the user gave one. Add `slug` only if the user asked for a specific link name.
4. If the tool says the file is too large to send this way, use `create_upload_url`, PUT the bytes to the returned URL, then call `finish_upload` with the returned path.
## Output
One short sentence with the link, for example: "Here is your link: https://lisview.com/report-k3f9x2qa".
Then one line: a QR code is available if they want it, and views can be checked later.
If the result says the file is being reviewed or scanned, say the link goes live once that is done.
## Always
- Only the connected account's own links and albums. If a link or album is not found, say so; do not try other slugs.
- A link is public: anyone who has the URL can open it, and it is not listed anywhere. Say this once if the file looks private.
- If a result is unclear or a call timed out, call `list_links` before sending anything again, so no duplicate is made.
- Deleting a link, changing a password or expiry date, and account settings are done by the user in the dashboard at https://linkinseconds.com/dashboard. No tool is called for those.
- When a file is refused, say what the tool answered in one sentence. Do not retry the same file.
Referenced files: 1 — file references are metadata, not package contents.
share-a-pdf-or-deck-for-a-meeting1.75 KB
View saved version →
---
name: share-a-pdf-or-deck-for-a-meeting
description: Publish a PDF or slide deck as a link for a meeting and later report who read it. Use when the user wants to send a proposal, deck, report or handout before or after a meeting.
---
# Share a PDF or deck for a meeting
## When to use
The user has a PDF, a slide deck or a report for a meeting, a client or a class and wants a link instead of an email attachment.
## Steps
1. Call `upload_file` with the attached PDF or deck in `file`, as it is. Set `title` to the document's name if the user gave one.
2. Several documents for the same meeting (deck plus handout plus agenda): call `create_album` with all of them, so there is one link.
3. Give the link and mention the QR code (`qr_url`), which is handy on a slide or a printed agenda.
4. After the meeting, when the user asks how it went, call `get_link_analytics` for that link: views, unique visitors and how many pages were read.
## Output
Before the meeting: the link in one sentence, then one line offering the QR code.
After the meeting: views, unique visitors and pages read, exactly as the tool returned them.
## Always
- Only the connected account's own links and albums. If a link or album is not found, say so; do not try other slugs.
- A link is public: anyone who has the URL can open it, and it is not listed anywhere. Say this once if the file looks private.
- If a result is unclear or a call timed out, call `list_links` before sending anything again, so no duplicate is made.
- Deleting a link, changing a password or expiry date, and account settings are done by the user in the dashboard at https://linkinseconds.com/dashboard. No tool is called for those.
- When a file is refused, say what the tool answered in one sentence. Do not retry the same file.
Referenced files: 1 — file references are metadata, not package contents.
share-audio-or-a-voice-memo1.51 KB
View saved version →
---
name: share-audio-or-a-voice-memo
description: Share an audio file or voice memo as a link that plays in the browser. Use when the user attaches a recording, song, podcast clip or voice note and wants a link.
---
# Share audio or a voice memo
## When to use
The user attached an audio file (mp3, m4a, wav, a voice memo) and wants a link that plays on any phone without an app.
## Steps
1. Call `upload_file` with the attached audio in `file`, as it is. Do not convert or shorten it.
2. Several recordings that belong together (an album, lesson parts, interview takes): call `create_album` so there is one link for all of them.
3. A recording too large to attach: `create_upload_url`, PUT the bytes, `finish_upload`.
4. Later, `get_link_analytics` shows plays and how far listeners got.
## Output
One sentence with the link and that it plays in the browser. Offer the QR code.
## Always
- Only the connected account's own links and albums. If a link or album is not found, say so; do not try other slugs.
- A link is public: anyone who has the URL can open it, and it is not listed anywhere. Say this once if the file looks private.
- If a result is unclear or a call timed out, call `list_links` before sending anything again, so no duplicate is made.
- Deleting a link, changing a password or expiry date, and account settings are done by the user in the dashboard at https://linkinseconds.com/dashboard. No tool is called for those.
- When a file is refused, say what the tool answered in one sentence. Do not retry the same file.
Referenced files: 1 — file references are metadata, not package contents.
share-files-as-one-album2.11 KB
View saved version →
---
name: share-files-as-one-album
description: Share several photos, videos or other files as ONE album link (a gallery). Use when the user attaches or mentions two or more files and wants one link for all of them.
---
# Share several files as one album
## When to use
The user has two or more files (photos, screenshots, videos, audio, PDFs, any mix) and wants ONE link, a gallery or an album.
## Steps
1. Call `create_album` once with every attached file in `files`, as they are. Files written in the chat go in `items`.
2. Every file is published separately inside the album and kept exactly as it is. Do NOT zip the files and do NOT merge images into one picture or collage. Make a ZIP only if the user asks for a ZIP (then it is one file for `upload_file`).
3. Add `title` if the user named the album.
4. A file too large to attach: `create_upload_url`, PUT the bytes, `finish_upload`, then pass the returned slug in `links` of `create_album` (or of `add_to_album` if the album exists).
5. If the result lists files as `pending`, call `add_to_album` with the album slug and those files.
6. More files later for the same album: `add_to_album`.
7. HTML pages are not taken in albums: publish an HTML page on its own with `upload_file`.
## Output
One short sentence with the album link and the number of files, for example: "Your album with 4 photos: https://lisview.com/b/ab12cd34".
If some files were refused, list them in one line each with the reason the tool gave. Offer the QR code.
## Always
- Only the connected account's own links and albums. If a link or album is not found, say so; do not try other slugs.
- A link is public: anyone who has the URL can open it, and it is not listed anywhere. Say this once if the file looks private.
- If a result is unclear or a call timed out, call `list_links` before sending anything again, so no duplicate is made.
- Deleting a link, changing a password or expiry date, and account settings are done by the user in the dashboard at https://linkinseconds.com/dashboard. No tool is called for those.
- When a file is refused, say what the tool answered in one sentence. Do not retry the same file.
Referenced files: 1 — file references are metadata, not package contents.
weekly-link-report1.55 KB
View saved version →
---
name: weekly-link-report
description: Summarize how all of the user's links did over the last week or another period. Use when the user asks for a weekly report, a summary of views, or which link got the most views.
---
# Weekly link report
## When to use
"How did my links do this week?", "Give me a weekly report", "Which link got the most views?"
## Steps
1. Call `get_account_analytics` with `range` `7d` (or `14d`, `30d`, `90d`, `all` when the user names another period).
2. For a closer look at the top link, call `get_link_analytics` for it with the same range.
3. Use only the numbers the tools returned. If there were no views, say so plainly.
## Output
- Total views and unique visitors, and the change against the period before if the tool gave it
- Top 3 links with their views and URLs
- Top countries and devices
- The busiest day or hour
Keep it under 10 lines. No advice unless the user asks for it.
## Always
- Only the connected account's own links and albums. If a link or album is not found, say so; do not try other slugs.
- A link is public: anyone who has the URL can open it, and it is not listed anywhere. Say this once if the file looks private.
- If a result is unclear or a call timed out, call `list_links` before sending anything again, so no duplicate is made.
- Deleting a link, changing a password or expiry date, and account settings are done by the user in the dashboard at https://linkinseconds.com/dashboard. No tool is called for those.
- When a file is refused, say what the tool answered in one sentence. Do not retry the same file.
Referenced files: 1 — file references are metadata, not package contents.