Spiral gives your agent every tool with one account. Browse the tools →

VS Code · Public Records

How to Use AER publication listings in VS Code

Returns a page of entries from an AER publication collection, such as directives, bulletins, decisions, or notices. Use it to browse a known publication type and collect document numbers for closer review.

Prompts to try with AER publication listings in VS Code

Copy an example into VS Code, or ask in your own words.

Use AER publication listings to find bulletins about measurement, then use AER website search for Directive 017 to assemble a linked reading list in our project.

AER publication listingsVS Code
Try asking
  • Use AER publication listings to look this up and give me the result as a table. Save the result in ./assets.

  • Pull the latest numbers from AER publication listings and tell me what changed since last week.

  • Check AER publication listings and summarize what you find in three bullet points.

  • Pull the newest data from AER publication listings and give me the result as a table.

How to set up AER publication listings in VS Code

Pick the way that suits you. Each takes about two minutes.

Use Spiral's MCP server

  1. Add the hosted server

    Use Add to VS Code on the console's Agents & MCP page, or run:

    code --add-mcp '{"name":"spiral","type":"http","url":"https://api.spiral.ai/mcp"}'
  2. Sign in

    VS Code asks you to sign in when it first starts the server: sign in to Spiral and click Authorize. No API key. Run MCP: List Servers from the Command Palette to check that Spiral is running.

Use the Spiral skill

  1. Send VS Code this message

    Your agent reads Spiral's skill and sets itself up.

    set up https://spiral.ai/SKILL.md
  2. Sign in or paste a key

    Approve Spiral in the browser, or give the agent a key from the console.

Use the Spiral CLI

  1. Install and sign in

    Installs the Spiral CLI, signs you in and adds its skill to your coding agents.

    npx -y spiral-cli@latest init

Call the Spiral API

  1. Create an API key

    In the console, under API keys.

  2. Run AER publication listings

    One request; the result comes back by polling or a webhook.

    curl https://api.spiral.ai/v1/runs \
      -H "Authorization: Bearer $SPIRAL_API_KEY" \
      -H "Content-Type: application/json" \
      -H "Idempotency-Key: $(uuidgen)" \
      -d '{
        "provider": "alexandria",
        "model": "aer-ca/energy-regulator-decisions-directives-notices/list_publications",
        "input": {
          "collection": "directives"
        }
      }'

Then paste one of the prompts above: VS Code finds AER publication listings on Spiral, shows the price and runs it.

AER publication listings providers and prices

Spiral runs AER publication listings through Alexandria. Open a card for today's price, with every fee included.

AlexandriaPublic Records
Alberta Energy Regulator (aer.ca) · List publications
aer-ca/energy-regulator-decisions-directives-notices/list_publications

Settings you can ask for

Ask VS Code for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Collectiondirectives, bulletins, hearing_decisions, regulatory_appeal_decisions, participatory_procedural_decisions, notices, statistical_reports, or news_releases

Which listing to read. Each is a Drupal views table on www.aer.ca: AER directives, bulletins, hearing decisions, regulatory appeal decisions, participatory and procedural decisions, notices of application, statistical reports (ST series) and news releases.

Pagea number from 00

Zero-based page index as the site numbers it (?page=).

Sortasc or descdesc

Sort direction.

Sort bydate or titledate

Sort column: the row date or the title/number column.

Every API field of Alberta Energy Regulator (aer.ca) · List publications is on its tool page: open its card above.

What can you do with AER publication listings in VS Code?

Build a searchable register of Alberta application records and regulatory publications in your project. A coding agent can connect application numbers, directive references, dates, and source links to your existing review screens.

Prepare a project review

Assemble an Alberta project's application notice and published decision, then find relevant directives and the bulletins announcing their revisions. Give reviewers a dated source list and distinguish the proposed activity from the recorded outcome.

Build an acquisition diligence file

Review public application notices and decisions for an Alberta operator alongside relevant regulatory publications. Organize the evidence by application number and directive number for the transaction team's review.

Prepare a municipal briefing

Explain proposed energy activity and recorded application outcomes near an Alberta municipality. Add the relevant directive descriptions and regulatory announcements so readers can follow both the project record and its regulatory context.

Check a regulatory research report

Verify a report's cited application numbers, decision outcomes, directive editions, and bulletin announcements against the published records. Locate missing references through publication listings and website search.

Review directive changes

Find recent bulletins on a regulatory topic, read their announcements, and retrieve the referenced directive editions and effective dates. Prepare a source-linked reading list for the operations team.

Find consultation background

Search a directive number to locate draft consultation material and related publications. Read the directive's purpose and announcing bulletin alongside those results before drafting review questions.

Questions about AER publication listings in VS Code

Can VS Code use AER publication listings?

Yes. Add Spiral to VS Code as an MCP server, and VS Code can find and run AER publication listings like any built-in tool.

How much does AER publication listings cost in VS Code?

$0.00873 per call. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your VS Code plan is separate.

Do I need an Alexandria account to use AER publication listings in VS Code?

No. Spiral runs AER publication listings on its own Alexandria account. You sign in to Spiral once and never paste a key.

How long does it take to set up AER publication listings in VS Code?

About two minutes: add the hosted server, then sign in.

Does VS Code wait while AER publication listings runs?

AER publication listings runs in the background. VS Code starts the run, checks on it and gives you the json when it's ready.

What area do these AER records cover?

These records concern Alberta energy regulation. AER directives set requirements and processes for energy companies operating in Alberta.

How much application history does the notice tool cover?

The AER describes Public Notice of Application as covering applications filed in the last 30 days. It should not be treated as a complete historical application archive.

Does an AER bulletin establish a new requirement?

A bulletin may announce a requirement, but it does not establish one. Check the referenced directive for the published requirements and processes.

Does a directive result include the full directive PDF text?

The documented response includes landing-page purpose text and a PDF link. Use that link when you need the directive's detailed sections rather than its landing-page description.

Can website search find consultation documents?

Yes. The documented search results include a PDF titled “What We Heard” about draft Directive 056, so results can include consultation material as well as directive pages.

Get started

Start using AER publication listings in VS Code

One Spiral account for every tool your agent needs. No subscription; you pay per run.

Paste this into VS Code:

Set up VS Code

set up https://spiral.ai/SKILL.md
Are you an AI agent? See setup options