# careerai

> Maintain and extend CareerAI, a single-file vanilla JS career recommendation app with glassmorphism UI.

careerai is a paid AI agent skill on Agensi by Nfzz 21, in APIs & Backend. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: $25 (one-time purchase)
- Creator: [Nfzz 21](https://www.agensi.io/creators/nfzz-21)
- Category: [APIs & Backend](https://www.agensi.io/skills/apis-backend)
- Version: 1.0
- Last updated: 2026-11-24
- Security: scan passed (2026-11-24); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/careerai
- Tags: api, javascript, frontend, spa, localstorage

## About this skill

The CareerAI skill solves the problem of maintaining a complex, single-page application where all logic, styling, and data are condensed into a single 4,600-line `index.html` file. Developers often waste time editing stale sidecar files like `script.js` or `style.css` that the app no longer loads. This skill ensures you target the correct source of truth while navigating a dense vanilla JS architecture.

### What it does
- **Source of truth management** identifies which files are active and which are stale legacy artifacts to prevent phantom bugs.
- **Match engine tuning** modifies the 5-part weighted algorithm that calculates career recommendations based on user skills, interests, and work style.
- **Data orchestration** manages large arrays for careers, jobs, courses, and mentors, ensuring new entries map correctly to interest and scenario IDs.
- **State persistence** handles the `localStorage` schema for user profiles, assessment history, admin logs, and the simulated resume analysis.
- **Routing & Auth** manages the 23-page SPA navigation system and the client-side authentication guards for protected routes.

### How it works
1. **Target index.html** for all logic, styling, and markup changes since it is the self-contained app entry point.
2. **Locate functions** using specific grep patterns to find the inline script block starting around line 2374.
3. **Verify syntax** by extracting the inline script to a temporary file and running a node check to catch errors before deployment.
4. **Update mappings** in the `INTEREST_MAP` or `SCENARIO_MAP` whenever adding new career objects to ensure they appear in assessment results.

### Frameworks & tools
Vanilla ES6 JavaScript, CSS Glassmorphism, Chart.js 4.4.1, SheetJS (xlsx) 0.18.5, and the Anthropic Messages API for chatbot integration.

### Why this beats prompting it yourself
Manual prompts often fail to realize the app is entirely self-contained, leading to broken imports or edits to the wrong files. This skill understands the specific weights of the recommendation engine and the hard-coded admin bypasses that a generic LLM would miss.

### Use cases
- Add new industry-specific career paths and job listings to the explorer module.
- Refactor the 45% skills match weight to account for varying proficiency levels.
- Debug "missing page" errors by verifying the `publicPages` array across multiple script declarations.
- Generate a pitch deck using the project's specific market figures and design specs.

### Known limitations
Passwords are stored in plain text in localStorage and only one account can exist at a time. The admin panel uses a client-side hard-coded password and the chatbot requires a user-supplied API key.

## How to use this skill

1. Connect your AI agent to Agensi once: add the MCP server https://mcp.agensi.io/mcp/auth and sign in with your Agensi account (OAuth, no API key). Steps for Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and other agents: https://www.agensi.io/docs/mcp-setup
2. Ask your agent: "Use the careerai skill from Agensi" and describe your task.
3. Buy it on the listing or let your agent ask you first; your agent then loads it from Agensi when it needs it. Every paid skill has a money-back guarantee: https://www.agensi.io/docs/money-back-guarantee

## Frequently asked questions

### What specific problem does this skill solve for developers working on CareerAI?

The CareerAI skill is designed to manage and expand a complex, 4,600-line single-file web application. It eliminates 'phantom bugs' by ensuring your AI agent targets the correct inline logic and styles rather than stale, external CSS or JS files.

### Which AI agents or frameworks are compatible with the CareerAI skill?

This skill works with any AI agent capable of file-system operations and code editing, such as those built on the Anthropic Messages API or similar LLM frameworks. It provides the agent with the necessary 'mental model' to navigate a dense, vanilla JS architecture without a build step.

### How do I install or initialize the CareerAI skill for my project?

To get started, simply provide your agent with access to the core `index.html` file. The skill will automatically identify the active source of truth and calibrate its editing patterns to the app's specific line-number structures and script blocks.

### What technical capabilities are included in this purchase?

The skill includes specialized logic for tuning the 5-part recommendation algorithm and managing the 23-page SPA routing system. It also provides a workflow for verifying syntax within the inline script blocks to prevent deployment errors.

### Can I use this skill to add new career paths and industry data?

Yes, this skill is specifically designed to update the `INTEREST_MAP` and `SCENARIO_MAP` arrays. It ensures that any new career paths or job listings you add are correctly mapped to the assessment engine so they appear in user results.

### Does the skill address the plain-text password limitation mentioned in the description?

While the skill optimizes the app's logic, the app itself relies on client-side security and `localStorage`. For production environments requiring server-side auth or encrypted databases, you will need to manually integrate those backend services.

---

Source: [Agensi](https://www.agensi.io), the marketplace of skills for AI agents. Any MCP-compatible agent (Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and more) connects at https://mcp.agensi.io/mcp/auth and signs in with an Agensi account; setup for every agent: https://www.agensi.io/docs/mcp-setup. Append .md to any skill, guide or docs address on agensi.io for its markdown version.
