generate-tech-profile

generate-tech-profile is a cursor rule for coding agents from jasonChen0604/codebase-to-portfolio. It costs 95 tokens per session (3,319 once invoked), scanned A, original, MIT.

A rule for building a personal technology profile from the latest documentation for your projects. It creates structured Markdown files in configured languages for a website skill tree or mind map.

In plain words
What is it for?
Use it to generate language-specific profile files from project documents after setting the profile configuration.
Why use it?
It avoids manually collecting project tags, categories, statuses, and descriptions into one profile.

Cursor rule

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add rules/jasonchen0604/codebase-to-portfolio/generate-tech-profile
Clone the repo
git clone --depth 1 https://github.com/jasonChen0604/codebase-to-portfolio

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for generate-tech-profile

README.md
[![agentmods](https://agentmods.dev/badge/rules/jasonchen0604/codebase-to-portfolio/generate-tech-profile.svg)](https://agentmods.dev/rules/jasonchen0604/codebase-to-portfolio/generate-tech-profile)
Your own site
<a href="https://agentmods.dev/rules/jasonchen0604/codebase-to-portfolio/generate-tech-profile"><img src="https://agentmods.dev/badge/rules/jasonchen0604/codebase-to-portfolio/generate-tech-profile.svg" alt="Measured on agentmods" height="20"></a>
Per session 95 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 3,319 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00095 $0.03319
Opus 5 $0.00048 $0.01659
Sonnet 5 $0.00019 $0.00664
Haiku 4.5 $0.00010 $0.00332

Measured 3d ago against content hash b16e59f803c3, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

generate-tech-profile scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

adapters/cursor/generate-tech-profile.mdc · 268 lines

How it starts

The opening of the file, as written. The whole thing — 268 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Generate Tech Profile Skill

Goal

Read all project docs (doc_filename) from projects that have the latest skill_version, extract structured frontmatter data (tags, category, status, description, etc.), then generate one Markdown file per configured language (languages in config, default ["en"]):

  • tech-profile-en.md — English version (if en is in languages)
  • tech-profile-<lang>.md — one file per additional configured language, e.g. tech-profile-zh-TW.md

All files share the same data and structure, but differ in language for all human-readable text. All are designed to be consumed by a personal website as the data source for skill tree / mind map rendering.

Step 0: Read config

Read profile.config.json from the current working directory. If missing, tell the user to copy examples/profile.config.example.json to profile.config.json and fill it in, then stop.

  • profile.name — used in the document title (e.g. # <name> — Personal Tech Profile)
  • doc_filename (default CLAUDE.md)
  • languages (default ["en"])
  • timezone (default +00:00) — used for generated_at
  • privacy_blocklist (default []) — additional names to sanitize out of display_name, on top of the built-in rules below
  • custom_domains (default {}) — extra tag → domain mappings merged into the built-in domain table in Step 5

Execution Steps

Step 1: Get the latest version

Run the /get-latest-version skill to obtain the current latest skill_version string (e.g. "2.0").

  • If none is returned, abort and tell the user to run /batch-init first.

Step 2: Filter projects with latest version

Read projects-list.md and filter rows where:

  1. "Active" column is ✅
  2. Doc-file column is ✅
  3. "Version" column equals the latest version string from Step 1

Collect each matching project's Path column value, expanding ~ via $HOME.

Step 3: Read each project's doc frontmatter

For each filtered project path, read <path>/<doc_filename> and extract the YAML frontmatter block (between the --- delimiters).

Read the full file on GitHub · 268 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3d ago First seen · 268 lines · 95 tokens per session scan A b16e59f803c3

Subscribe to this mod's changes

generate-tech-profile is a cursor rule published in the GitHub repository jasonChen0604/codebase-to-portfolio (2 stars, last pushed 1mo ago), licensed MIT. It adds 95 tokens to every session and 3,319 once invoked, about $0.0005 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.