Construcción y optimización cuantitativa de portafolios: Markowitz (scipy.optimize + Monte Carlo), Black-Litterman (prior CAPM, views absolutas/relativas, posterior bayesiano), HRP/HERC/NCO (clustering jerárquico, risk parity, NCO con restricciones). Todo flat numpy + scipy, sin Riskfolio-Lib ni PyPortfolioOpt.
$npx -y skills add gauss314/skills --skill portfolioInstalls into the current project.
Run `npx skills use "https://github.com/gauss314/skills" --skill "gauss314/skills/portfolio"` and follow the generated skill instructions now. Read its complete output, redirecting it to a temporary file first if necessary. Resolve relative paths from the supporting-files directory it provides.
Use the skills in "https://github.com/gauss314/skills" that are relevant to the current task. Run `npx skills add "https://github.com/gauss314/skills"` and select the relevant skills, then follow their instructions.