@crim-ca/job-inputs
ARetrieve the input specifications and values that were provided when a job was executed. Shows what parameters were used to run the process. Use for debugging, reproducing results, or auditing job submissions.
Install
agr install @crim-ca/job-inputs --target claudeWrites 1 file into .claude/skills/, pinned to git-07c19952.
- .claude/skills/job-inputs/SKILL.md
Document
name: job-inputs description: | Retrieve the input specifications and values that were provided when a job was executed. Shows what parameters were used to run the process. Use for debugging, reproducing results, or auditing job submissions. license: Apache-2.0 compatibility: Requires Weaver API access. metadata: author: fmigneault
Get Job Inputs
Retrieve the input values that were provided when a job was executed.
When to Use
- Reviewing parameters used for a job
- Reproducing job execution with same inputs
- Debugging parameter-related issues
- Auditing job submissions
- Documenting workflow configurations
- Comparing inputs across multiple job runs
Parameters
Required
- job_id (string): Job identifier
CLI Usage
# Get job inputs
weaver inputs -u $WEAVER_URL -j a1b2c3d4-e5f6-7890-abcd-ef1234567890
# Save inputs for reuse
weaver inputs -u $WEAVER_URL -j a1b2c3d4-e5f6-7890-abcd-ef1234567890 > inputs-to-reuse.json
# Resubmit with same inputs
weaver execute -u $WEAVER_URL -p my-process -I inputs-to-reuse.json
Python Usage
from weaver.cli import WeaverClient
client = WeaverClient(url="https://weaver.example.com")
# Get inputs
inputs = client.inputs(job_id="a1b2c3d4-e5f6-7890-abcd-ef1234567890")
for input_name, input_value in inputs.body.items():
print(f"{input_name}: {input_value}")
# Reuse inputs for another job
new_job = client.execute(
process_id="my-process",
inputs=inputs.body
)
API Request
curl -X GET \
"${WEAVER_URL}/jobs/a1b2c3d4-e5f6-7890-abcd-ef1234567890/inputs"
Returns
{
"input1": "value1",
"input2": {
"href": "https://example.com/input-file.nc",
"type": "application/netcdf"
},
"threshold": 0.5,
"enabled": true
}
Note: Response may include additional fields. See API documentation for complete response schemas.
Input Types
Literal Values
{
"parameter": "string value",
"count": 42,
"enabled": true
}
File References
{
"input_file": {
"href": "https://example.com/data.tif",
"type": "image/tiff"
}
}
Arrays
{
"files": [
{"href": "https://example.com/file1.nc"},
{"href": "https://example.com/file2.nc"}
]
}
Vault References
{
"credentials": {
"href": "vault://secret-token"
}
}
Use Cases
Reproduce Results
# Get inputs from successful job
weaver inputs -u $WEAVER_URL -j c3d4e5f6-a7b8-9012-cdef-123456789012 > good-inputs.json
# Run again with same parameters
weaver execute -u $WEAVER_URL -p my-process -I good-inputs.json
Debug Failed Jobs
# Compare inputs between successful and failed jobs
success_inputs = client.inputs(job_id="success-job-id")
failed_inputs = client.inputs(job_id="d4e5f6a7-b8c9-0123-def1-234567890123")
# Find differences
for key in success_inputs.body:
if success_inputs.body[key] != failed_inputs.body.get(key):
print(f"Different value for {key}")
Audit Trail
# Document what inputs were used
weaver inputs -u $WEAVER_URL -j $JOB_ID | tee audit/job-$JOB_ID-inputs.json
Related Skills
- job-execute - Submit jobs with inputs
- job-results - Get corresponding outputs
- job-status - Check job status
- process-describe - See required/optional inputs
Documentation
Trustgrade A
- passBody integrity
Whether the stored document is plausibly the kind of file the artifact declares, rather than something fetched by mistake.
- passType matchnot applicable to this artifact type
Whether the artifact is really the kind of thing its metadata claims it is.
- passFreshness
How long since the source repository was last pushed to.
- passPrompt injection
Scans the artifact's own text for instructions aimed at your agent rather than at you.
- passLicense
Whether the source repository declares an SPDX license permissive enough to redistribute.
How the grade is calculated
Each check contributes 0 points when it passes, 1 when it warns, and 2 when it fails. The total maps to a letter:
- Aevery check passed
- Bone warning
- Ctwo warnings
- Dprompt injection or body integrity failed, or three warnings
- Fone of those failed, and something else is wrong
These are automated hygiene checks, not a security audit, and not a dependency or vulnerability scan. A grade of A means nothing was flagged — not that the artifact is safe.
Versions
git-07c19952d61f2026-07-31