assess
Exposes the app modernization assessment skill, performing agentic codebase scans, GCP credential verification, cost estimation checks, and executing the…
Skill by sapientcoffee
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/sapientcoffee-assess
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: cloud
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/assess
What's inside
- Skill name
assess- Description
- Exposes the app modernization assessment skill, performing agentic codebase scans, GCP credential verification, cost estimation checks, and executing the codmod CLI.
- License
- Apache-2.0
- Instructions
- 144 lines in SKILL.md · view on GitHub
Files (1)
- SKILL.md
SKILL.md (first lines)
# ☕ Skill: CodMod App Modernization Assessment
You are executing the application modernization assessment workflow. Follow this step-by-step protocol meticulously.
---
## 1. Initial Setup & GCP Credential Guard
1. **Verify active GCP credentials and projects:**
- Execute a shell command to ensure local authorization and target project parameters are set:
```bash
gcloud config get-value project
gcloud auth print-access-token
```
- If credentials are missing or the command errors out, halt execution immediately and print a helpful, step-by-step resolution guide instructing the user to configure credentials (e.g., run `gcloud auth application-default login` or configure `GOOGLE_APPLICATION_CREDENTIALS`).
---
## 2. Spawn Modernization Scout Subagent
To perform an intelligent, context-aware pre-scan without relying on rigid scripts, leverage the Antigravity agentic harness:
1. **Invoke the Subagent:**
- Spawn a dedicated subagent using the `invoke_subagent` tool:
* **TypeName**: `research`
* **Role**: `Modernization Scout`
* **Prompt**:
```
You are the Modernization Scout subagent. Your task is to perform a comprehensive, non-intrusive scan of the codebase directory: {{args}} (or current workspace if omitted).
1. Walk the folders and count files by extension.
2. Check for legacy Java indicators: Parse pom.xml or build.gradle files to check if the Java source compatibility version is 8 or older (e.g. sourceCompatibility = 1.8).
3. Check for WildFly profiles: Look for XML structures like standalone.xml, wildfly-config.xml, or package descriptors with WildFly server references.
4. Check for Microsoft workloads: Look for .sln, .csproj, or .vbproj files.
5. Check for Arm VM candidates: Look for C/C++ source code targeting legacy VM structures.
6. Check for cloud vendor libraries: Scan code for AWS (boto3, aws-sdk) or Azure imports.
Return a structured findings list summarizing: file counts, Java source versions, detected application servers, cloud libraries, and overall codebase lines of code (LOC).
```
2. **Retrieve & Parse findings:**
- Wait for the Scout subagent to report its findings, then extract its summarized metrics.
---
## 3. Map Findings to CodMod Intents
Based on the Scout subagent's findings, compute the optimal arguments for the CLI execution:
1. **Select Intent Flag (`--intent`):**
- If WildFly configurations or profiles are detected: `--intent WILDFLY_LEGACY_TO_MODERN`
- Else if Java source compatibility <= 8 is detected: `--intent JAVA_LEGACY_TO_MODERN`
- Else if Microsoft solution/project files are detected: `--intent MICROSOFT_MODERNIZATION`
- Else if C/C++ source code targeting legacy environments is detected: `--intent ARM_MIGRATION`
- Else if AWS or Azure vendor libraries are detected: `--intent CLOUD_TO_CLOUD`
- Default fallback: If no clear matches exist, print a message informing the user and ask for their target intent choice.
2. **Select Optional Sections (`--optional-sections`):**
- If Java or C# is detected, set `--optional-sections classes,files`.
- Otherwise, default to `--optional-sections files`.
---
## 4. Model Set & Region Workaround Routing
To leverage the latest Gemini 3.x capabilities while avoiding Vertex AI regional 404 errors, apply this custom model fallback:
1. **Parse Arguments & Detect Target Class:**
- Scan the input string or `{{args}}` for flags specifying model tier overrides (e.g. `--pro`, `pro`, `--modelset=pro`, `--modelset=gemini-3.1-pro`):
- **If "pro" is requested:**
* Set CLI Parameter: `--modelset=gemini-3.1-pro`
* Set Region: `--region=global` (Ensure global region is used to avoid regional availability limitations)
- **Default (If no "pro" overrides are specified):**
* Set CLI Parameter: `--modelset=gemini-3.6-flash`
* Set Region: `--region=global` (Enforces 3.6 flash routing inside the global Vertex AI region)
2. **Console Warning:**
- Display a warning advising the user that custom model fallbacks are active:
```
⚠️ WARNING: Custom modelset active. The system will attempt to interpret this as a Gemini model name.
- Model: <selected-modelset>
- Region: global
```
---
## 5. Interactive Cost Shield
1. **Calculate Estimates:**
- Run the cost-estimation dry-run using Vertex AI Gemini pricing parameters:
```bash
codmod create --estimate-cost --intent <intent> --optional-sections <optional-sections> --modelset <computed-modelset> --region global
```
2. **Gate Budgets:**
- Print the calculated bill and codebase file count to the terminal.
- If the codebase size exceeds 100,000 LOC or the estimated cost is substantial, halt execution and prompt the user for explicit confirmation (`y/N`) before launching the remote API.
- If the user selects "No" or rejects, terminate gracefully, displaying the exact CLI command that would have run.
---
## 6. Execute Google Cloud CodMod Assessment
1. **Trigger Assessment:**
- Run the main assessment command with computed parameters:
```bash
codmod create --intent <intent> --optional-sections <optional-sections> --modelset <computed-modelset> --region global -o modernization_report.html
```
- Ensure the command execution uses safe argument lists (`shell=False` equivalents) to shield the CLI from injection.
2. **Trap Failures (Self-Healing Log Collection):**
- If the `codmod create` command fails or returns a non-zero exit code:
* Trigger the diagnostic collection tool:
```bash
codmod collect-logs -o plans/feature/20260731-codmod-assessment/codmod_logs.zip
```
* Inform the developer of the failure and point them to the diagnostic zip path.
---
## 7. Report Mirroring & TelemetryFrom sapientcoffee/bean-to-cup, Apache-2.0.
More from sapientcoffee/bean-to-cup
- 0.521score
rewrite
sapientcoffee
Stage 1/2 - Orchestrate a legacy application rewrite workflow by analyzing modernization assessments and coordinating specialized skills.
SkillBFreshness: BClaude Code +9 - 0.512score
kanban
sapientcoffee
Stage 7 - Generates an interactive Kanban board (Markdown & HTML) and Mermaid flow to visualize and track the status of implementation slices.
SkillBFreshness: BClaude Code +9 - 0.469score
chaos-mitigation
sapientcoffee
Phase 7 - Detects, analyzes, and mitigates active chaos events in the `press-service` using logs and runbooks.
SkillCFreshness: CClaude Code +9 - 0.469score
dev
sapientcoffee
Start the local development environment (backend and frontend)
SkillCFreshness: CClaude Code +9 - 0.467score
deploy-app
sapientcoffee
Phase 7 - Acts as DevOps to automatically detect the application stack, install necessary dependencies, and host the application locally.
SkillCFreshness: CClaude Code +9
Signals
- Stars
- 0
- Forks
- 0
- Open issues
- 11
- Last commit (this folder)
- Aug 5, 2026 (2 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- Apache-2.0
- Repository
- github.com/sapientcoffee/bean-to-cup
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from sapientcoffee
- 0.526score
harness-immunizer
sapientcoffee
Velocity Harness Patch self-healing mechanism.
SkillBFreshness: BClaude Code +9 - 0.526score
cycle-telemetry
sapientcoffee
Velocity Chess Clock telemetry tracker.
SkillBFreshness: BClaude Code +9 - 0.526score
code-hygiene
sapientcoffee
Deterministic local code hygiene runner.
SkillBFreshness: BClaude Code +9 - 0.524score
github-workflow
sapientcoffee
Phase 9 - Provides the process for raising git commits, checking branches, and creating PRs using the gh CLI.
SkillBFreshness: BClaude Code +9 - 0.521score
git-delivery
sapientcoffee
Provides an emoji-powered, good-practice delivery pipeline to verify code quality, craft conventional atomic commits, and compile premium "What, Why, How"…
SkillBFreshness: BClaude Code +9 - 0.521score
record
sapientcoffee
Record terminal interactions and compile them to animated GIFs.
SkillBFreshness: BClaude Code +9
Cite this page
assess skill. Agent Mart. https://agentmart.dev/skills/sapientcoffee-assess (last updated 2026-10-24)