<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>Forem: Monde kim</title>
    <description>The latest articles on Forem by Monde kim (@rad1092).</description>
    <link>https://forem.com/rad1092</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3881867%2Fe2e02ace-0f34-4232-92a6-ac34ccc77f67.png</url>
      <title>Forem: Monde kim</title>
      <link>https://forem.com/rad1092</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://forem.com/feed/rad1092"/>
    <language>en</language>
    <item>
      <title>From curl to agent-ready API package: FirstCall CLI walkthrough (real output)</title>
      <dc:creator>Monde kim</dc:creator>
      <pubDate>Fri, 15 May 2026 02:17:44 +0000</pubDate>
      <link>https://forem.com/rad1092/from-curl-to-agent-ready-api-package-firstcall-cli-walkthrough-real-output-7pl</link>
      <guid>https://forem.com/rad1092/from-curl-to-agent-ready-api-package-firstcall-cli-walkthrough-real-output-7pl</guid>
      <description>&lt;p&gt;When you hand an AI agent a raw curl command with an API key baked in, you're trusting it - and every tool it calls - to never log, retry, or forward that secret. That trust is hard to audit.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;FirstCall&lt;/strong&gt; is a local-first Rust workbench that turns verified API calls into redacted agent packages. Secret values are stripped before export. A 112-check validator runs before any agent can import the package. HTTP actually executes locally before a recipe is promoted - no "trust me it works."&lt;/p&gt;

&lt;p&gt;Here is the full CLI lifecycle, run live against the v0.1.0 release binary.&lt;/p&gt;




&lt;h2&gt;
  
  
  CLI lifecycle demo
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Ffbigvoz4rp6ex7hcf5hh.gif" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Ffbigvoz4rp6ex7hcf5hh.gif" alt="FirstCall CLI lifecycle" width="720" height="406"&gt;&lt;/a&gt;&lt;/p&gt;




&lt;h2&gt;
  
  
  Step 1 - version
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;$ firstcall-cli version
firstcall-cli 0.1.0
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Step 2 - package a verified recipe
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;$ firstcall-cli package \
    --recipe-json fixtures/verified-agent-recipe.json \
    --out ./tmp/demo-pkg

Exported agent package to ./tmp/demo-pkg
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Step 3 - validate (112 checks)
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;$ firstcall-cli validate-package --dir ./tmp/demo-pkg

Package: ./tmp/demo-pkg
Status: valid
Checks passed: 112
Warnings: 0
Errors: 0
MCP compile smoke: not_requested
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;112 checks cover manifest integrity, redaction invariants, slot/auth consistency, and import-readiness flags.&lt;/p&gt;

&lt;h2&gt;
  
  
  Step 4 - inspect before import
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;$ firstcall-cli inspect-package --dir ./tmp/demo-pkg

Validation status: valid
Import readiness: ready
Requires local re-verification: yes
Raw secrets imported: no
Validation checks passed: 112
Validation errors: 0
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;code&gt;Requires local re-verification: yes&lt;/code&gt; is set automatically on every import. A recipe cannot be re-exported without running local HTTP verification first.&lt;/p&gt;

&lt;h2&gt;
  
  
  Step 5 - import and list
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;$ firstcall-cli import-package --dir ./tmp/demo-pkg

Import status: imported
Imported recipe id: 1
Recipe: example_update_user
Method: POST
URL template: https://api.example.com/users/${user_id}?api_key=${FIRSTCALL_API_KEY}
Requires local re-verification: yes
Secrets imported: no
App storage modified: yes

$ firstcall-cli recipe-list

Recipes: 1
- ID: 1
  Recipe: example_update_user
  Method: POST
  Auth style: bearer
  Requires local re-verification: yes
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The URL template shows named slots (&lt;code&gt;${user_id}&lt;/code&gt;, &lt;code&gt;${FIRSTCALL_API_KEY}&lt;/code&gt;) - actual values are never stored in the package.&lt;/p&gt;




&lt;h2&gt;
  
  
  Live HTTP verify - GitHub API (real request)
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;$ FIRSTCALL_BEARER_TOKEN=$GITHUB_TOKEN \
    firstcall-cli verify --recipe-json fixtures/github-user-recipe.json

Recipe: GitHub Authenticated User
Method: GET
URL template: https://api.github.com/user
HTTP status: 200
Outcome: success
Blocker: none
Updated verification time: 2026-05-15T01:46:16Z
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;HTTP 200, real GitHub endpoint, token never written to output.&lt;/p&gt;




&lt;h2&gt;
  
  
  Desktop GUI workbench
&lt;/h2&gt;

&lt;p&gt;The same trust chain runs in the desktop GUI: paste a curl command or OpenAPI spec, review the parsed candidate, fill runtime slots and auth, execute locally, review the attempt, promote to recipe.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fvzdeyuzyb0h8bfocw7wu.gif" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fvzdeyuzyb0h8bfocw7wu.gif" alt="FirstCall desktop GUI workbench" width="760" height="437"&gt;&lt;/a&gt;&lt;/p&gt;




&lt;h2&gt;
  
  
  Install
&lt;/h2&gt;

&lt;p&gt;Download a binary for your OS from &lt;a href="https://github.com/rad1092/firstcall-local-api-workbench/releases/tag/v0.1.0" rel="noopener noreferrer"&gt;GitHub Releases&lt;/a&gt; - includes both &lt;code&gt;firstcall&lt;/code&gt; (GUI) and &lt;code&gt;firstcall-cli&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;Or build from source:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;cargo build &lt;span class="nt"&gt;--locked&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;CLI-only (no GUI dependencies):&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;cargo build &lt;span class="nt"&gt;--locked&lt;/span&gt; &lt;span class="nt"&gt;--bin&lt;/span&gt; firstcall-cli &lt;span class="nt"&gt;--no-default-features&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;






&lt;h2&gt;
  
  
  What it accepts
&lt;/h2&gt;

&lt;p&gt;&lt;code&gt;curl&lt;/code&gt;, OpenAPI (local JSON/YAML), Postman Collection, HAR, &lt;code&gt;.http&lt;/code&gt;/&lt;code&gt;.rest&lt;/code&gt;, Hurl, Bruno/OpenCollection. GraphQL-over-HTTP is detected from JSON bodies.&lt;/p&gt;

&lt;p&gt;Remote OpenAPI &lt;code&gt;$ref&lt;/code&gt; and multipart file uploads are not supported in v0.1.&lt;/p&gt;




&lt;ul&gt;
&lt;li&gt;Repo: &lt;a href="https://github.com/rad1092/firstcall-local-api-workbench" rel="noopener noreferrer"&gt;rad1092/firstcall-local-api-workbench&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;Release: &lt;a href="https://github.com/rad1092/firstcall-local-api-workbench/releases/tag/v0.1.0" rel="noopener noreferrer"&gt;v0.1.0&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;CLI docs: &lt;a href="https://github.com/rad1092/firstcall-local-api-workbench/blob/main/docs/cli-lifecycle.md" rel="noopener noreferrer"&gt;docs/cli-lifecycle.md&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>rust</category>
      <category>cli</category>
      <category>devtools</category>
      <category>api</category>
    </item>
    <item>
      <title>Launching gh-dep-risk: a GitHub CLI extension for dependency PR review</title>
      <dc:creator>Monde kim</dc:creator>
      <pubDate>Thu, 16 Apr 2026 07:31:32 +0000</pubDate>
      <link>https://forem.com/rad1092/gh-dep-risk-a-github-cli-extension-for-npm-pr-dependency-risk-review-410j</link>
      <guid>https://forem.com/rad1092/gh-dep-risk-a-github-cli-extension-for-npm-pr-dependency-risk-review-410j</guid>
      <description>&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Update (May 2026): gh-dep-risk v0.2.0 is out.&lt;/strong&gt;&lt;br&gt;&lt;br&gt;
The project now has broader static local fallback coverage across Python, Poetry, uv.lock, Go modules, Yarn Berry, and Bun text lockfiles. The repository slug is now &lt;a href="https://github.com/rad1092/gh-dependency-risk" rel="noopener noreferrer"&gt;https://github.com/rad1092/gh-dependency-risk&lt;/a&gt;, while the install path remains gh extension install rad1092/gh-dep-risk.&lt;br&gt;&lt;br&gt;
Read the v0.2.0 update: &lt;a href="https://dev.to/rad1092/gh-dep-risk-v020-broader-local-fallback-for-dependency-pr-review-34pd"&gt;https://dev.to/rad1092/gh-dep-risk-v020-broader-local-fallback-for-dependency-pr-review-34pd&lt;/a&gt;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;The original launch post is kept below for history.&lt;br&gt;
I built &lt;code&gt;gh-dep-risk&lt;/code&gt; to make pull request dependency review easier to run on demand.&lt;/p&gt;

&lt;p&gt;It is a precompiled GitHub CLI extension. Reviewers can run it from the terminal, in CI, or from a manual GitHub Actions workflow without operating a server, webhook receiver, queue, database, dashboard, or GitHub App.&lt;/p&gt;

&lt;p&gt;Repository: &lt;a href="https://github.com/rad1092/gh-dependency-risk" rel="noopener noreferrer"&gt;https://github.com/rad1092/gh-dependency-risk&lt;/a&gt;&lt;br&gt;&lt;br&gt;
Install path: &lt;code&gt;gh extension install rad1092/gh-dep-risk&lt;/code&gt;&lt;br&gt;
Latest release: &lt;a href="https://github.com/rad1092/gh-dependency-risk/releases/latest" rel="noopener noreferrer"&gt;https://github.com/rad1092/gh-dependency-risk/releases/latest&lt;/a&gt;&lt;/p&gt;
&lt;h2&gt;
  
  
  Why a CLI extension
&lt;/h2&gt;

&lt;p&gt;Dependency review often needs a quick answer during code review:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;what changed&lt;/li&gt;
&lt;li&gt;why it might be risky&lt;/li&gt;
&lt;li&gt;what the reviewer should check next&lt;/li&gt;
&lt;li&gt;whether the PR should block at a chosen risk level&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;I wanted that flow to stay close to GitHub and &lt;code&gt;gh&lt;/code&gt;, rather than adding another always-on service.&lt;/p&gt;
&lt;h2&gt;
  
  
  What it does
&lt;/h2&gt;

&lt;p&gt;&lt;code&gt;gh-dep-risk&lt;/code&gt; analyzes a pull request and produces a dependency risk summary.&lt;/p&gt;

&lt;p&gt;It can output:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;human-readable terminal output&lt;/li&gt;
&lt;li&gt;stable JSON&lt;/li&gt;
&lt;li&gt;markdown for PR comments&lt;/li&gt;
&lt;li&gt;a reusable output bundle for workflow artifacts&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;It can also upsert one marker comment on a PR timeline with &lt;code&gt;--comment&lt;/code&gt;, and it can return a blocking exit code with &lt;code&gt;--fail-level&lt;/code&gt;.&lt;/p&gt;
&lt;h2&gt;
  
  
  Current support
&lt;/h2&gt;

&lt;p&gt;The original release focused on JavaScript package managers for local fallback analysis:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;npm: &lt;code&gt;package.json&lt;/code&gt; + &lt;code&gt;package-lock.json&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;pnpm: &lt;code&gt;package.json&lt;/code&gt; + &lt;code&gt;pnpm-lock.yaml&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;Yarn: &lt;code&gt;package.json&lt;/code&gt; + &lt;code&gt;yarn.lock&lt;/code&gt; with narrow Yarn Classic support&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;When GitHub Dependency Review provides data, the report can also surface dependency changes from other ecosystems. As of v0.2.0, local fallback support is broader; see the update above. This original note is kept as release history.&lt;/p&gt;

&lt;p&gt;That distinction matters. I do not want the tool to pretend it can analyze an ecosystem locally if it cannot do that honestly from repository files.&lt;/p&gt;
&lt;h2&gt;
  
  
  Example commands
&lt;/h2&gt;


&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;gh extension &lt;span class="nb"&gt;install &lt;/span&gt;rad1092/gh-dep-risk

gh dep-risk &lt;span class="nb"&gt;pr &lt;/span&gt;123
gh dep-risk &lt;span class="nb"&gt;pr &lt;/span&gt;https://github.com/OWNER/REPO/pull/123
gh dep-risk &lt;span class="nb"&gt;pr &lt;/span&gt;123 &lt;span class="nt"&gt;--format&lt;/span&gt; json
gh dep-risk &lt;span class="nb"&gt;pr &lt;/span&gt;123 &lt;span class="nt"&gt;--comment&lt;/span&gt;
gh dep-risk &lt;span class="nb"&gt;pr &lt;/span&gt;123 &lt;span class="nt"&gt;--fail-level&lt;/span&gt; high
gh dep-risk &lt;span class="nb"&gt;pr &lt;/span&gt;123 &lt;span class="nt"&gt;--bundle-dir&lt;/span&gt; ./out
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;


&lt;p&gt;For monorepos:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;gh dep-risk &lt;span class="nb"&gt;pr &lt;/span&gt;123 &lt;span class="nt"&gt;--list-targets&lt;/span&gt;
gh dep-risk &lt;span class="nb"&gt;pr &lt;/span&gt;123 &lt;span class="nt"&gt;--path&lt;/span&gt; apps/web
gh dep-risk &lt;span class="nb"&gt;pr &lt;/span&gt;123 &lt;span class="nt"&gt;--path&lt;/span&gt; package.json &lt;span class="nt"&gt;--comment&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Config file
&lt;/h2&gt;

&lt;p&gt;Teams can put defaults in &lt;code&gt;.gh-dep-risk.yml&lt;/code&gt;:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight yaml"&gt;&lt;code&gt;&lt;span class="na"&gt;lang&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="s"&gt;en&lt;/span&gt;
&lt;span class="na"&gt;fail_level&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="s"&gt;high&lt;/span&gt;
&lt;span class="na"&gt;comment&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="kc"&gt;true&lt;/span&gt;
&lt;span class="na"&gt;path&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt;
  &lt;span class="pi"&gt;-&lt;/span&gt; &lt;span class="s"&gt;apps/web&lt;/span&gt;
&lt;span class="na"&gt;no_registry&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="kc"&gt;false&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;CLI flags still win over config values, so reviewers can override behavior per run.&lt;/p&gt;

&lt;h2&gt;
  
  
  Comment behavior
&lt;/h2&gt;

&lt;p&gt;&lt;code&gt;--comment&lt;/code&gt; uses PR timeline issue comments, not review comments.&lt;/p&gt;

&lt;p&gt;The marker is:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight html"&gt;&lt;code&gt;&lt;span class="c"&gt;&amp;lt;!-- gh-dep-risk --&amp;gt;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The tool maintains exactly one marker comment owned by the authenticated user. It does not edit or delete another author's marker comment.&lt;/p&gt;

&lt;h2&gt;
  
  
  Workflow mode
&lt;/h2&gt;

&lt;p&gt;The repository includes a manual GitHub Actions workflow for no-local-install usage. It builds the CLI, runs the analysis once, writes a job summary, and uploads the human, JSON, markdown, and metadata bundle as artifacts.&lt;/p&gt;

&lt;p&gt;This is still the same CLI engine. The workflow is a thin wrapper, not a server.&lt;/p&gt;

&lt;h2&gt;
  
  
  Design boundary
&lt;/h2&gt;

&lt;p&gt;The project is intentionally small:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;one Go binary&lt;/li&gt;
&lt;li&gt;GitHub CLI extension shape&lt;/li&gt;
&lt;li&gt;on-demand execution&lt;/li&gt;
&lt;li&gt;no server or dashboard&lt;/li&gt;
&lt;li&gt;no broad managed-service direction&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The goal is a practical reviewer tool that is easy to install, easy to run, and honest about what it can and cannot analyze locally.&lt;/p&gt;

</description>
      <category>github</category>
      <category>cli</category>
      <category>security</category>
      <category>javascript</category>
    </item>
  </channel>
</rss>
