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

opencode · Sports

How to Use CBS Sports fantasy projections in opencode

Get projected NFL and NBA stat lines, including weekly football forecasts and basketball rest-of-season expectations. Use these estimates to compare expected production before choosing a starter or evaluating a trade.

Prompts to try with CBS Sports fantasy projections in opencode

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

Use CBS Sports fantasy projections to add a comparison of Josh Allen and Patrick Mahomes to this project's player comparison view, showing this week's projected fantasy points.

CBS Sports fantasy projectionsopencode
Try asking
  • Use CBS Sports fantasy projections to add an NBA point guard comparison for rest-of-season expectations, with clear labels for projected production.

  • Use CBS Sports fantasy projections to look this up and give me the result as a table. Save the result in ./assets.

  • Pull the latest numbers from CBS Sports fantasy projections and tell me what changed since last week.

  • Check CBS Sports fantasy projections and summarize what you find in three bullet points.

How to set up CBS Sports fantasy projections in opencode

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

Use Spiral's MCP server

  1. Add the server

    Leave out --global to add Spiral to the current project only. No header and no client ID or secret: opencode registers itself with Spiral.

    opencode mcp add spiral --global --url https://api.spiral.ai/mcp
  2. Sign in

    Your browser opens. Sign in to Spiral, pick the organization and click Authorize, then return to the terminal. No API key. Inside opencode, /mcps starts the same sign-in.

    opencode mcp auth spiral
  3. Check it

    Spiral shows as connected.

    opencode mcp list

Use the Spiral skill

  1. Send opencode 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 CBS Sports fantasy projections

    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": "cbssports-com/fantasy-sports-rankings/projections",
        "input": {
          "position": "QB"
        }
      }'

Then paste one of the prompts above: opencode finds CBS Sports fantasy projections on Spiral, shows the price and runs it.

CBS Sports fantasy projections providers and prices

Spiral runs CBS Sports fantasy projections through Alexandria. Open a card for today's price, with every fee included.

AlexandriaSports
CBS Sports fantasy football and basketball · Projections
cbssports-com/fantasy-sports-rankings/projections

Settings you can ask for

Ask opencode for any of these in your prompt.

SettingAllowed valuesDefaultDescription
PositionQB, RB, WR, TE, K, DST, PG, SG and 5 more

Football: QB, RB, WR, TE, K or DST (team defense and special teams). Basketball: PG, SG, SF, PF, C, or G (guards) and F (forwards).

Typeweekly or ros

weekly or ros (rest of season). Defaults to weekly for football and ros for basketball.

Week1 to 30

Weekly type only. Football: NFL week 1-18; omit for the current week. The site publishes the current and the next week; any other week is not_found. Basketball: a scoring period; the site publishes the next two; omit for the rest of the current period.

Limit1 to 200

Return only the top N rows. Omit for the whole table.

Sportfootball or basketballfootball

football (default, NFL) or basketball (NBA). Positions, scoring and periods differ by sport; an option of the other sport is invalid_input.

ScoringPPR or STD

Football only: PPR (a point per reception, the default) or STD (non-PPR). The site publishes no half-PPR tables. Omit for basketball, whose tables use CBS points scoring.

Every API field of CBS Sports fantasy football and basketball · Projections is on its tool page: open its card above.

What can you do with CBS Sports fantasy projections in opencode?

Build a player comparison view that puts CBS expectations, expert preferences and completed production beside each other. Use separate labels for NFL and NBA results so the project preserves each sport's context.

Choose an NFL starter

Compare a shortlist's expected points, expert ordering and completed production to explain a start-or-sit decision.

Review a fantasy trade

Evaluate the players on both sides using future expectations, positional standing and actual production. Keep the comparison within the same sport and scoring context.

Compare NBA roster options

Review recent basketball production alongside longer-term expectations and positional rankings before deciding which player deserves a roster spot.

Explain conflicting player evaluations

Find players whose expert standing, expected output and completed performance point in different directions. Show the competing evidence before recommending a choice.

Investigate an NBA hot streak

Compare seven-day and 28-day production with rest-of-season expectations to judge how much weight to give a recent surge.

Questions about CBS Sports fantasy projections in opencode

Can opencode use CBS Sports fantasy projections?

Yes. Add Spiral to opencode as an MCP server, and opencode can find and run CBS Sports fantasy projections like any built-in tool.

How much does CBS Sports fantasy projections cost in opencode?

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

Do I need an Alexandria account to use CBS Sports fantasy projections in opencode?

No. Spiral runs CBS Sports fantasy projections on its own Alexandria account. You sign in to Spiral once and never paste a key.

How long does it take to set up CBS Sports fantasy projections in opencode?

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

Does opencode wait while CBS Sports fantasy projections runs?

CBS Sports fantasy projections runs in the background. opencode starts the run, checks on it and gives you the json when it's ready.

Which leagues do these CBS Sports tables cover?

The documented coverage is NFL football and NBA basketball.

What league format underlies CBS's NBA rankings?

Twelve teams and eight categories.

How much recent basketball form can I compare?

CBS publishes rolling windows of 7, 14, 21 and 28 days.

How many football experts contribute rankings?

Three CBS fantasy experts contribute weekly and draft rankings.

How far back did the reviewed football season tables go?

The reviewed selector listed 2026, 2025 and 2024.

Get started

Start using CBS Sports fantasy projections in opencode

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

Paste this into opencode:

Set up opencode

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