Agent skill

Views Construction

by SilvioBaratto in SilvioBaratto/optimizer

Turn a regime/macro read into a structured ViewSet (asset- or factor-level relative/absolute expected-return views with a confidence) for Black-Litterman.

Custom licenceAuto-check passed

Install Views Construction

skills CLI
$ npx skills add SilvioBaratto/optimizer --skill views-construction -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install SilvioBaratto/optimizer views-construction --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/SilvioBaratto/optimizer.git skills-src && mkdir -p .claude/skills && cp -r skills-src/fund/src/fund/skills/views-construction .claude/skills/views-construction && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
views-construction
GitHub stars
176
Token cost
~406 tokens
SKILL.md length
176 words
Files
2
Skills in repo
10
Repo updated
First seen
Licence
Custom licence

At a glance

Turn a regime/macro read into a structured ViewSet (asset- or factor-level relative/absolute expected-return views with a confidence) for Black-Litterman.

  • Works in 4 steps: Take the regime read + macro drivers as… → Write each view as relative ("A… → For factor views, reference factor NAMES… → …
  • The economist must express a directional opinion the optimizer can price into the prior
  • SKILL.md covers When to use, Load-bearing rule, Procedure and Boundaries, plus 1 more section
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Views Construction is an agent skill from SilvioBaratto/optimizer. Turn a regime/macro read into a structured ViewSet (asset- or factor-level relative/absolute expected-return views with a confidence) for Black-Litterman. Use when the economist must express a directional opinion the optimizer can price into the prior. Emits ONLY a ViewSet; it never emits weights, mu, or covariance.

Its SKILL.md is about 410 tokens, which your agent loads only when the skill is triggered. The skill folder holds 1 other file (for example `reference.md`).

The repository describes itself as: Quantitative portfolio construction and optimization platform built on skfolio and scikit-learn.

When your agent uses it

  • The economist must express a directional opinion the optimizer can price into the prior

Example prompts

  • “/views-construction”

Workflow steps

4 steps, taken from the first numbered list in SKILL.md.

  1. Take the regime read + macro drivers as the rationale for each view.
  2. Write each view as relative ("A outperforms B by x") or absolute, with a
  3. For factor views, reference factor NAMES (not asset names): the prior is a factor
  4. Hand the ViewSet to the allocator; the optimizer runs Black-Litterman.

What it can do on your machine

Read from SKILL.md and the folder at commit 63e897b. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Views Construction loads about 406 tokens when it runs. Until then it costs about 84 tokens; SKILL.md has 176 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~84
When it runs · the whole SKILL.md, loaded when a task matches
~406

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

Its licence (Custom licence) doesn't allow us to republish the file, so here is its outline and opening line. It has 176 words (~406 tokens).

“The economist's second step: express opinions as a typed ViewSet, not as weights. The optimizer folds views into the Black-Litterman posterior; confidence maps to the view-uncertainty matrix Omega.”

— opening of SKILL.md by SilvioBaratto, Custom licence
name
views-construction

Read the full SKILL.md on GitHub

Files

SKILL.md and 1 other file in fund/src/fund/skills/views-construction of SilvioBaratto/optimizer.

  • SKILL.md
  • reference.md

Open the folder on GitHubat commit 63e897b

Compare with similar skills

Views Construction next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Views Construction compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Views Construction this skillSilvioBaratto/optimizer176—~406Automated safety check: PassCustom licence
Macro Regime Detectortradermonty/claude-trading-skills3k1 repos~1.2kAutomated safety check: PassMIT
AssetsBuilderIO/agent-native7.1k—~1.2kAutomated safety check: PassNone
Game Asset AuditDonchitos/Claude-Code-Game-Studios26k—~2kAutomated safety check: PassMIT
3D Asset Generationcalesthio/OpenMontage65k—~1.2kAutomated safety check: PassAGPL-3.0
Macro Regimeagentii-ai/agentii-investment-intelligence207—~923Automated safety check: PassApache-2.0

Similar skills

  • Macro Regime Detector

    tradermonty/claude-trading-skills

    Detect structural macro regime transitions (1-2 year horizon) using cross-asset ratio analysis.

    3k GitHub starsUsed in 1 repo~1.2k tokens
    Business, Finance & HRAuto-check passed
  • Assets

    BuilderIO/agent-native

    Use Agent-Native Assets for image and video generation requests, brand-safe asset search/export, and human-in-the-loop asset selection through the hosted Assets MCP app.

    7.1k GitHub stars~1.2k tokensUpdated today
    Agent WorkflowsAuto-check passed
  • Game Asset Audit

    Donchitos/Claude-Code-Game-Studios

    Audits game assets against naming conventions, file size budgets and format standards, and finds orphaned assets and missing references.

    26k GitHub stars~2k tokensUpdated 9 days ago
    Game DevelopmentAuto-check passed
  • 3D Asset Generation

    calesthio/OpenMontage

    Generate, reconstruct, inspect, and route production 3D assets for OpenMontage worlds using Atlas Cloud, fal.ai, licensed catalogs, and Blender.

    65k GitHub stars~1.2k tokensUpdated 5 days ago
    Game DevelopmentAuto-check passed
  • Macro Regime

    agentii-ai/agentii-investment-intelligence

    Macro regime analysis, bull bear market detection, business cycle analysis, macro environment assessment, interest rate cycle, yield curve analysis, monetary policy, fiscal policy, global macro…

    207 GitHub stars~923 tokensUpdated 9 days ago
    Business, Finance & HRAuto-check passed
  • Global Macro Analysis

    HKUDS/Vibe-Trading

    Framework for central bank policy, exchange rate forecasting, geopolitical risk and capital flows that produces macro factor signals to guide cross-asset allocation.

    35k GitHub stars~1.9k tokensUpdated today
    Business, Finance & HRAuto-check passed

More from SilvioBaratto/optimizer

All 10 skills in this repo
  • Yfinance

    SilvioBaratto/optimizer

    Load proactively whenever the user works with yfinance or Yahoo Finance data — pulling price history, fetching financials or analyst data, screening stocks / funds / ETFs, streaming real-time…

    176 GitHub stars~4k tokensUpdated yesterday
    Auto-check: notes
  • DB Context

    SilvioBaratto/optimizer

    Complete knowledge of the optimizer PostgreSQL database: 57 ingestion tables, schema, relationships, live row counts, query patterns, and conventions.

    176 GitHub stars~6.4k tokensUpdated yesterday
    Auto-check: notes
  • Fund Orchestration

    SilvioBaratto/optimizer

    Sequence the fund pipeline and delegate to the four subagents (economist, allocator, risk, executor).

    176 GitHub stars~635 tokensUpdated yesterday
    Auto-check passed
  • Optimization Objective Map

    SilvioBaratto/optimizer

    Map a chosen ConstraintSet.objective to the correct optimizer cone / risk-measure and factory config.

    176 GitHub stars~510 tokensUpdated yesterday
    Auto-check passed
  • Macro Regime Read

    SilvioBaratto/optimizer

    Read macro/FRED series from the DB and label the current market regime for the economist.

    176 GitHub stars~403 tokensUpdated yesterday
    Auto-check passed
  • Rebalancing Execution

    SilvioBaratto/optimizer

    Translate approved target weights into paper orders under a no-trade band and an L1 turnover penalty, then place them behind human approval.

    176 GitHub stars~425 tokensUpdated yesterday
    Auto-check passed

Questions about Views Construction

What does Views Construction do?

Turn a regime/macro read into a structured ViewSet (asset- or factor-level relative/absolute expected-return views with a confidence) for Black-Litterman. Views Construction is an agent skill from SilvioBaratto/optimizer. Turn a regime/macro read into a structured ViewSet (asset- or factor-level relative/absolute expected-return views with a confidence) for Black-Litterman.

When should I use Views Construction?

Views Construction fits situations like: the economist must express a directional opinion the optimizer can price into the prior.

How do I install Views Construction in Claude Code?

Run `npx skills add SilvioBaratto/optimizer --skill views-construction -a claude-code`. Or copy the skill folder (fund/src/fund/skills/views-construction in SilvioBaratto/optimizer) into .claude/skills/views-construction in your project. Claude Code loads it when a task matches its description.

How do I install Views Construction in Codex?

Run `npx skills add SilvioBaratto/optimizer --skill views-construction -a codex`. Or copy the skill folder (fund/src/fund/skills/views-construction in SilvioBaratto/optimizer) into .agents/skills/views-construction in your project. Codex loads it when a task matches its description.

Can I use Views Construction in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add SilvioBaratto/optimizer --skill views-construction -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/views-construction, .gemini/skills/views-construction, .github/skills/views-construction and .opencode/skills/views-construction in your project.

What does Views Construction need to run?

SKILL.md names no scripts, command-line tools or credentials: Views Construction is instructions for the agent only.

Does Views Construction access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Views Construction safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Views Construction use?

Views Construction has a licence file (the repository's licence) that doesn't match a standard licence. Read it on GitHub before reusing the skill.

How many tokens does Views Construction use?

About 406 tokens (SKILL.md is roughly 1.6k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Views Construction?

Skills that share tags, products or a category with Views Construction: Macro Regime Detector (tradermonty/claude-trading-skills, 3k stars), Assets (BuilderIO/agent-native, 7.1k stars), Game Asset Audit (Donchitos/Claude-Code-Game-Studios, 26k stars) and 3D Asset Generation (calesthio/OpenMontage, 65k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Views Construction?

SilvioBaratto (a GitHub user) maintains it in SilvioBaratto/optimizer, which has 176 GitHub stars. The repository holds 10 skills in this directory. The repository was last updated on October 7, 2026.

Source: SilvioBaratto/optimizer on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.